Package org.apache.kafka.clients.admin
Class MemberDescription
java.lang.Object
org.apache.kafka.clients.admin.MemberDescription
A detailed description of a single group instance in the cluster.
-
Constructor Summary
ConstructorDescriptionMemberDescription
(String memberId, String clientId, String host, MemberAssignment assignment) MemberDescription
(String memberId, Optional<String> groupInstanceId, String clientId, String host, MemberAssignment assignment) MemberDescription
(String memberId, Optional<String> groupInstanceId, String clientId, String host, MemberAssignment assignment, Optional<MemberAssignment> targetAssignment) -
Method Summary
Modifier and TypeMethodDescriptionThe assignment of the group member.clientId()
The client id of the group member.The consumer id of the group member.boolean
The instance id of the group member.int
hashCode()
host()
The host where the group member is running.The target assignment of the member.toString()
-
Constructor Details
-
MemberDescription
public MemberDescription(String memberId, Optional<String> groupInstanceId, String clientId, String host, MemberAssignment assignment, Optional<MemberAssignment> targetAssignment) -
MemberDescription
-
MemberDescription
public MemberDescription(String memberId, String clientId, String host, MemberAssignment assignment)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
consumerId
The consumer id of the group member. -
groupInstanceId
The instance id of the group member. -
clientId
The client id of the group member. -
host
The host where the group member is running. -
assignment
The assignment of the group member. Provided for both classic group and consumer group. -
targetAssignment
The target assignment of the member. Provided only for consumer group. -
toString
-