Package org.apache.kafka.clients.admin
Class ListStreamsGroupOffsetsResult
java.lang.Object
org.apache.kafka.clients.admin.ListStreamsGroupOffsetsResult
The result of the
Admin.listStreamsGroupOffsets(Map, ListStreamsGroupOffsetsOptions)
call.
The API of this class is evolving, see Admin
for details.
-
Method Summary
Modifier and TypeMethodDescriptionall()
Return a future which yields allMap<String, Map<TopicPartition, OffsetAndMetadata>>
objects, if requests for all the groups succeed.partitionsToOffsetAndMetadata
(String groupId) Return a future which yields a map of topic partitions to offsets for the specified group.
-
Method Details
-
all
Return a future which yields allMap<String, Map<TopicPartition, OffsetAndMetadata>>
objects, if requests for all the groups succeed. -
partitionsToOffsetAndMetadata
public KafkaFuture<Map<TopicPartition,OffsetAndMetadata>> partitionsToOffsetAndMetadata(String groupId) Return a future which yields a map of topic partitions to offsets 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.
-