Package org.apache.kafka.clients.admin
Class ListConsumerGroupOffsetsSpec
- java.lang.Object
 - 
- org.apache.kafka.clients.admin.ListConsumerGroupOffsetsSpec
 
 
- 
@Evolving public class ListConsumerGroupOffsetsSpec extends Object
Specification of consumer group offsets to list usingAdmin.listConsumerGroupOffsets(java.util.Map). The API of this class is evolving, seeAdminfor details. 
- 
- 
Constructor Summary
Constructors Constructor Description ListConsumerGroupOffsetsSpec() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()Collection<TopicPartition>topicPartitions()Returns the topic partitions whose offsets are to be listed for a consumer group.ListConsumerGroupOffsetsSpectopicPartitions(Collection<TopicPartition> topicPartitions)Set the topic partitions whose offsets are to be listed for a consumer group.StringtoString() 
 - 
 
- 
- 
Method Detail
- 
topicPartitions
public ListConsumerGroupOffsetsSpec topicPartitions(Collection<TopicPartition> 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
public Collection<TopicPartition> 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. 
 - 
 
 -