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)
.
The API of this class is evolving, see Admin
for details.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
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.null
includes 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.null
indicates that offsets of all partitions of the group are to be listed. -
equals
-
hashCode
public int hashCode() -
toString
-