Class ListShareGroupOffsetsSpec
java.lang.Object
org.apache.kafka.clients.admin.ListShareGroupOffsetsSpec
Specification of share group offsets to list using
Admin.listShareGroupOffsets(Map, ListShareGroupOffsetsOptions). The API of this class is evolving, see Admin for details.
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()Returns the topic partitions whose offsets are to be listed for a share group.topicPartitions(Collection<TopicPartition> topicPartitions) Set the topic partitions whose offsets are to be listed for a share group.toString()
Constructor Details
ListShareGroupOffsetsSpec
public ListShareGroupOffsetsSpec()
Method Details
topicPartitions
Set the topic partitions whose offsets are to be listed for a share group.- Parameters:
topicPartitions- List of topic partitions to include
topicPartitions
Returns the topic partitions whose offsets are to be listed for a share group.nullindicates that offsets of all partitions of the group are to be listed.equals
hashCode
toString