Class AbstractPartitionAssignor.MemberInfo
java.lang.Object
org.apache.kafka.clients.consumer.internals.AbstractPartitionAssignor.MemberInfo
- All Implemented Interfaces:
Comparable<AbstractPartitionAssignor.MemberInfo>
- Enclosing class:
AbstractPartitionAssignor
public static class AbstractPartitionAssignor.MemberInfo
extends Object
implements Comparable<AbstractPartitionAssignor.MemberInfo>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
memberId
-
groupInstanceId
-
rackId
-
-
Constructor Details
-
MemberInfo
-
MemberInfo
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<AbstractPartitionAssignor.MemberInfo>
-
equals
-
hashCode
public int hashCode()We could just use member.id to be the hashcode, since it's unique across the group. -
toString
-