Package io.vertx.kafka.admin
Class ListConsumerGroupOffsetsSpec
- java.lang.Object
-
- io.vertx.kafka.admin.ListConsumerGroupOffsetsSpec
-
public class ListConsumerGroupOffsetsSpec extends Object
-
-
Constructor Summary
Constructors Constructor Description ListConsumerGroupOffsetsSpec()ConstructorListConsumerGroupOffsetsSpec(JsonObject json)Constructor (from JSON representation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JsonObjecttoJson()Convert object to JSON representationCollection<TopicPartition>topicPartitions()Returns a collection of topic partitions to add as part of the result.ListConsumerGroupOffsetsSpectopicPartitions(Collection<TopicPartition> topicPartitions)Set the topic partitions to list as part of the result.StringtoString()
-
-
-
Constructor Detail
-
ListConsumerGroupOffsetsSpec
public ListConsumerGroupOffsetsSpec()
Constructor
-
ListConsumerGroupOffsetsSpec
public ListConsumerGroupOffsetsSpec(JsonObject json)
Constructor (from JSON representation)- Parameters:
json- JSON representation
-
-
Method Detail
-
topicPartitions
public ListConsumerGroupOffsetsSpec topicPartitions(Collection<TopicPartition> topicPartitions)
Set the topic partitions to list as part of the result.nullincludes all topic partitions.- Parameters:
topicPartitions- Collection of topic partitions to include- Returns:
- This ListConsumerGroupOffsetsSpec
-
topicPartitions
public Collection<TopicPartition> topicPartitions()
Returns a collection of topic partitions to add as part of the result.
-
toJson
public JsonObject toJson()
Convert object to JSON representation- Returns:
- JSON representation
-
-