Package org.apache.kafka.clients.admin
Class MemberAssignment
- java.lang.Object
-
- org.apache.kafka.clients.admin.MemberAssignment
-
public class MemberAssignment extends java.lang.Object
A description of the assignments of a specific group member.
-
-
Constructor Summary
Constructors Constructor Description MemberAssignment(java.util.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(java.lang.Object o)
int
hashCode()
java.util.Set<TopicPartition>
topicPartitions()
The topic partitions assigned to a group member.java.lang.String
toString()
-
-
-
Constructor Detail
-
MemberAssignment
public MemberAssignment(java.util.Set<TopicPartition> topicPartitions)
Creates an instance with the specified parameters.- Parameters:
topicPartitions
- List of topic partitions
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
topicPartitions
public java.util.Set<TopicPartition> topicPartitions()
The topic partitions assigned to a group member.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-