Package org.apache.kafka.clients.admin
Class ListConsumerGroupOffsetsOptions
java.lang.Object
org.apache.kafka.clients.admin.AbstractOptions<ListConsumerGroupOffsetsOptions>
org.apache.kafka.clients.admin.ListConsumerGroupOffsetsOptions
@Evolving
public class ListConsumerGroupOffsetsOptions
extends AbstractOptions<ListConsumerGroupOffsetsOptions>
Options for
Admin.listConsumerGroupOffsets(String)
.
The API of this class is evolving, see Admin
for details.
-
Field Summary
Fields inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list of topic partitions to add as part of the result.topicPartitions
(List<TopicPartition> topicPartitions) Set the topic partitions to list as part of the result.Methods inherited from class org.apache.kafka.clients.admin.AbstractOptions
timeoutMs, timeoutMs
-
Constructor Details
-
ListConsumerGroupOffsetsOptions
public ListConsumerGroupOffsetsOptions()
-
-
Method Details
-
topicPartitions
Set the topic partitions to list as part of the result.null
includes all topic partitions.- Parameters:
topicPartitions
- List of topic partitions to include- Returns:
- This ListGroupOffsetsOptions
-
topicPartitions
Returns a list of topic partitions to add as part of the result.
-