Package org.apache.kafka.clients.admin
Class MemberAssignment
- java.lang.Object
-
- org.apache.kafka.clients.admin.MemberAssignment
-
public class MemberAssignment extends Object
A description of the assignments of a specific group member.
-
-
Constructor Summary
Constructors Constructor Description MemberAssignment(Set<TopicPartition> topicPartitions)
Creates an instance with the specified parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
Set<TopicPartition>
topicPartitions()
The topic partitions assigned to a group member.String
toString()
-
-
-
Constructor Detail
-
MemberAssignment
public MemberAssignment(Set<TopicPartition> topicPartitions)
Creates an instance with the specified parameters.- Parameters:
topicPartitions
- List of topic partitions
-
-
Method Detail
-
topicPartitions
public Set<TopicPartition> topicPartitions()
The topic partitions assigned to a group member.
-
-