public class ListConsumerGroupOffsetsOptions extends Object
| Constructor and Description |
|---|
ListConsumerGroupOffsetsOptions()
Constructor
|
ListConsumerGroupOffsetsOptions(JsonObject json)
Constructor (from JSON representation)
|
| Modifier and Type | Method and Description |
|---|---|
JsonObject |
toJson()
Convert object to JSON representation
|
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.
|
String |
toString() |
public ListConsumerGroupOffsetsOptions()
public ListConsumerGroupOffsetsOptions(JsonObject json)
json - JSON representationpublic ListConsumerGroupOffsetsOptions topicPartitions(List<TopicPartition> topicPartitions)
null includes all topic partitions.topicPartitions - List of topic partitions to includepublic List<TopicPartition> topicPartitions()
public JsonObject toJson()
Copyright © 2021 Eclipse. All rights reserved.