@InterfaceStability.Evolving public class ListConsumerGroupOffsetsOptions extends AbstractOptions<ListConsumerGroupOffsetsOptions>
AdminClient.listConsumerGroupOffsets(String)
.
The API of this class is evolving, see AdminClient
for details.
timeoutMs
Constructor and Description |
---|
ListConsumerGroupOffsetsOptions() |
Modifier and Type | Method and Description |
---|---|
java.util.List<TopicPartition> |
topicPartitions()
Returns a list of topic partitions to add as part of the result.
|
ListConsumerGroupOffsetsOptions |
topicPartitions(java.util.List<TopicPartition> topicPartitions)
Set the topic partitions to list as part of the result.
|
timeoutMs, timeoutMs
public ListConsumerGroupOffsetsOptions topicPartitions(java.util.List<TopicPartition> topicPartitions)
null
includes all topic partitions.topicPartitions
- List of topic partitions to includepublic java.util.List<TopicPartition> topicPartitions()