Package io.vertx.kafka.admin
Class MemberAssignment
java.lang.Object
io.vertx.kafka.admin.MemberAssignment
A description of the assignments of a specific group member
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorMemberAssignment(JsonObject json) Constructor (from JSON representation)MemberAssignment(Set<TopicPartition> topicPartitions) Constructor -
Method Summary
Modifier and TypeMethodDescriptionsetTopicPartitions(Set<TopicPartition> topicPartitions) Set the list of topic partitionstoJson()Convert object to JSON representationtoString()
-
Constructor Details
-
MemberAssignment
public MemberAssignment()Constructor -
MemberAssignment
Constructor- Parameters:
topicPartitions- list of topic partitions
-
MemberAssignment
Constructor (from JSON representation)- Parameters:
json- JSON representation
-
-
Method Details
-
getTopicPartitions
- Returns:
- list of topic partitions
-
setTopicPartitions
Set the list of topic partitions- Parameters:
topicPartitions- list of topic partitions- Returns:
- current instance of the class to be fluent
-
toJson
Convert object to JSON representation- Returns:
- JSON representation
-
toString
-