Returns the topic-partitions that this consumer is currently assigned.
Returns the topic-partitions that this consumer is currently assigned.
This is subject to consumer rebalancing, unless using a manual subscription.
Retrieve the last committed offset for the given topic-partitions
Create a stream with messages on the subscribed topic-partitions by topic-partition
Create a stream with messages on the subscribed topic-partitions by topic-partition
The top-level stream will emit new topic-partition streams for each topic-partition that is assigned to this consumer. This is subject to consumer rebalancing, unless a manual subscription was made. When rebalancing occurs, new topic-partition streams may be emitted and existing streams may be completed.
All streams can be completed by calling stopConsumption.
Environment required by the serializers
Type of record keys
Type of record values
Deserializer for the record keys
Deserializer for the record values
Create a stream with all messages on the subscribed topic-partitions
Create a stream with all messages on the subscribed topic-partitions
The stream will emit messages from all topic-partitions interleaved. Per-partition record order is guaranteed, but the topic-partition interleaving is non-deterministic.
The stream can be completed by calling stopConsumption.
Environment required by the serializers
Type of record keys
Type of record values
Deserializer for the record keys
Deserializer for the record values
Stops consumption of data, drains buffered records, and ends the attached streams while still serving commit requests.
(Since version 0.5.0) Use OffsetRetrieval.Manual
(Since version 0.5.0) Use OffsetRetrieval.Manual
(Since version 0.5.0) Use OffsetRetrieval.Manual