Class ListShareGroupOffsetsResult

java.lang.Object
org.apache.kafka.clients.admin.ListShareGroupOffsetsResult

@Evolving public class ListShareGroupOffsetsResult extends Object
The result of the Admin.listShareGroupOffsets(Map, ListShareGroupOffsetsOptions) call.

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

  • Method Details

    • all

      Return the future when the requests for all groups succeed.
      Returns:
      Future which yields all Map<String, Map<TopicPartition, Long>> objects, if requests for all the groups succeed.
    • partitionsToOffset

      public KafkaFuture<Map<TopicPartition,Long>> partitionsToOffset(String groupId)
      Return a future which yields a map of topic partitions to offsets for the specified group.
      Parameters:
      groupId - The group ID.
      Returns:
      Future which yields a map of topic partitions to offsets for the specified group.