Class ListConsumerGroupOffsetsResult


@Evolving public class ListConsumerGroupOffsetsResult extends Object
The result of the Admin.listConsumerGroupOffsets(String) call.

The API of this class is evolving, see Admin for details.

  • Method Details

    • partitionsToOffsetAndMetadata

      public KafkaFuture<Map<TopicPartition,OffsetAndMetadata>> partitionsToOffsetAndMetadata()
      Return a future which yields a map of topic partitions to OffsetAndMetadata objects. If the group does not have a committed offset for this partition, the corresponding value in the returned map will be null.