Package io.vertx.kafka.admin
Class ListConsumerGroupOffsetsOptions
java.lang.Object
io.vertx.kafka.admin.ListConsumerGroupOffsetsOptions
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorConstructor (from JSON representation) -
Method Summary
Modifier and TypeMethodDescriptiontoJson()Convert object to JSON representationReturns 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.toString()
-
Constructor Details
-
ListConsumerGroupOffsetsOptions
public ListConsumerGroupOffsetsOptions()Constructor -
ListConsumerGroupOffsetsOptions
Constructor (from JSON representation)- Parameters:
json- JSON representation
-
-
Method Details
-
topicPartitions
Set the topic partitions to list as part of the result.nullincludes 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. -
toJson
Convert object to JSON representation- Returns:
- JSON representation
-
toString
-