Package io.vertx.kafka.admin
Class ConsumerGroupListing
java.lang.Object
io.vertx.kafka.admin.ConsumerGroupListing
A listing of a consumer group in the cluster.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorConstructor (from JSON representation)ConsumerGroupListing(String groupId, boolean isSimpleConsumerGroup) Constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleansetGroupId(String groupId) Set the consumer group idsetSimpleConsumerGroup(boolean isSimpleConsumerGroup) Set if consumer group is simple or nottoJson()Convert object to JSON representationtoString()
-
Constructor Details
-
ConsumerGroupListing
public ConsumerGroupListing()Constructor -
ConsumerGroupListing
Constructor- Parameters:
groupId- consumer group idisSimpleConsumerGroup- if consumer group is simple or not
-
ConsumerGroupListing
Constructor (from JSON representation)- Parameters:
json- JSON representation
-
-
Method Details
-
getGroupId
- Returns:
- consumer group id
-
setGroupId
Set the consumer group id- Parameters:
groupId- consumer group id- Returns:
- current instance of the class to be fluent
-
isSimpleConsumerGroup
public boolean isSimpleConsumerGroup()- Returns:
- if consumer group is simple or not
-
setSimpleConsumerGroup
Set if consumer group is simple or not- Parameters:
isSimpleConsumerGroup- if consumer group is simple or not- Returns:
- current instance of the class to be fluent
-
toJson
Convert object to JSON representation- Returns:
- JSON representation
-
toString
-