Package org.apache.kafka.clients.admin
Class ListConsumerGroupOffsetsSpec
java.lang.Object
org.apache.kafka.clients.admin.ListConsumerGroupOffsetsSpec
Specification of consumer group offsets to list using
Admin.listConsumerGroupOffsets(java.util.Map).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()Returns the topic partitions whose offsets are to be listed for a consumer group.topicPartitions(Collection<TopicPartition> topicPartitions) Set the topic partitions whose offsets are to be listed for a consumer group.toString()
-
Constructor Details
-
ListConsumerGroupOffsetsSpec
public ListConsumerGroupOffsetsSpec()
-
-
Method Details
-
topicPartitions
Set the topic partitions whose offsets are to be listed for a consumer group.nullincludes all topic partitions.- Parameters:
topicPartitions- List of topic partitions to include- Returns:
- This ListConsumerGroupOffsetSpec
-
topicPartitions
Returns the topic partitions whose offsets are to be listed for a consumer group.nullindicates that offsets of all partitions of the group are to be listed. -
equals
-
hashCode
public int hashCode() -
toString
-