Package org.apache.kafka.clients.admin
Class ListConsumerGroupOffsetsResult
- java.lang.Object
-
- org.apache.kafka.clients.admin.ListConsumerGroupOffsetsResult
-
@Evolving public class ListConsumerGroupOffsetsResult extends java.lang.Object
The result of theAdmin.listConsumerGroupOffsets(String)
call.The API of this class is evolving, see
Admin
for details.
-
-
Constructor Summary
Constructors Constructor Description ListConsumerGroupOffsetsResult(KafkaFuture<java.util.Map<TopicPartition,OffsetAndMetadata>> future)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaFuture<java.util.Map<TopicPartition,OffsetAndMetadata>>
partitionsToOffsetAndMetadata()
Return a future which yields a map of topic partitions to OffsetAndMetadata objects.
-
-
-
Constructor Detail
-
ListConsumerGroupOffsetsResult
public ListConsumerGroupOffsetsResult(KafkaFuture<java.util.Map<TopicPartition,OffsetAndMetadata>> future)
-
-
Method Detail
-
partitionsToOffsetAndMetadata
public KafkaFuture<java.util.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.
-
-