Package org.apache.kafka.clients.admin
Class MemberDescription
java.lang.Object
org.apache.kafka.clients.admin.MemberDescription
public class MemberDescription extends Object
A detailed description of a single group instance in the cluster.
-
Constructor Summary
Constructors Constructor Description MemberDescription(String memberId, String clientId, String host, MemberAssignment assignment)MemberDescription(String memberId, Optional<String> groupInstanceId, String clientId, String host, MemberAssignment assignment) -
Method Summary
Modifier and Type Method Description MemberAssignmentassignment()The assignment of the group member.StringclientId()The client id of the group member.StringconsumerId()The consumer id of the group member.booleanequals(Object o)Optional<String>groupInstanceId()The instance id of the group member.inthashCode()Stringhost()The host where the group member is running.StringtoString()
-
Constructor Details
-
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. -
toString
-