A plugin interface that allows you to intercept (and possibly mutate) records received by the consumer.
This interface is used to define custom partition assignment for use in
A callback interface that the user can implement to trigger custom actions when the set of partitions assigned to the consumer changes.
A callback interface that the user can implement to trigger custom actions when a commit request completes.
The consumer configuration keys
A metadata struct containing the consumer group information.
A key/value pair to be received from Kafka.
A container that holds the list
ConsumerRecord per partition for a
A cooperative version of the
A client that consumes records from a Kafka cluster.
A mock of the
Consumer interface you can use for testing code that uses Kafka.
The Kafka offset commit API allows users to provide additional metadata (in the form of a string) when an offset is committed.
A container class for offset and timestamp.
The range assignor works on a per-topic basis.
The round robin assignor lays out all the available partitions and all the available consumers.
The sticky assignor serves two purposes.
The rebalance protocol defines partition assignment and revocation semantics.
This exception is raised when an offset commit with
with an unrecoverable error.
Thrown when the offset for a set of partitions is invalid (either undefined or out of range), and no reset policy has been configured.
In the event of an unclean leader election, the log will be truncated, previously committed data will be lost, and new data will be written over these offsets.
Indicates that there is no stored offset for a partition and no defined offset reset policy.
No reset policy has been defined, and the offsets for these partitions are either larger or smaller than the range of offsets the server has for the given partition.