public class MemberAssignment extends Object
Constructor and Description |
---|
MemberAssignment()
Constructor
|
MemberAssignment(JsonObject json)
Constructor (from JSON representation)
|
MemberAssignment(Set<TopicPartition> topicPartitions)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Set<TopicPartition> |
getTopicPartitions() |
MemberAssignment |
setTopicPartitions(Set<TopicPartition> topicPartitions)
Set the list of topic partitions
|
JsonObject |
toJson()
Convert object to JSON representation
|
String |
toString() |
public MemberAssignment()
public MemberAssignment(Set<TopicPartition> topicPartitions)
topicPartitions
- list of topic partitionspublic MemberAssignment(JsonObject json)
json
- JSON representationpublic Set<TopicPartition> getTopicPartitions()
public MemberAssignment setTopicPartitions(Set<TopicPartition> topicPartitions)
topicPartitions
- list of topic partitionspublic JsonObject toJson()
Copyright © 2024 Eclipse. All rights reserved.