@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 |
---|---|
List<TopicPartition> |
topicPartitions()
Returns a list of topic partitions to add as part of the result.
|
ListConsumerGroupOffsetsOptions |
topicPartitions(List<TopicPartition> topicPartitions)
Set the topic partitions to list as part of the result.
|
timeoutMs, timeoutMs
public ListConsumerGroupOffsetsOptions topicPartitions(List<TopicPartition> topicPartitions)
null
includes all topic partitions.topicPartitions
- List of topic partitions to includepublic List<TopicPartition> topicPartitions()