Class ListConsumerGroupOffsetsResult

    • Method Detail

      • 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.
      • partitionsToOffsetAndMetadata

        public KafkaFuture<Map<TopicPartition,​OffsetAndMetadata>> partitionsToOffsetAndMetadata​(String groupId)
        Return a future which yields a map of topic partitions to OffsetAndMetadata objects for the specified group. If the group doesn't have a committed offset for a specific partition, the corresponding value in the returned map will be null.