Returns the topic-partitions that this consumer is currently assigned.
Retrieve the last committed offset for the given topic-partitions
See Consumer.consumeWith.
See Consumer.consumeWith.
Expose internal consumer metrics
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.
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.
Stops consumption of data, drains buffered records, and ends the attached streams while still serving commit requests.