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 MemberAssignment
assignment()
The assignment of the group member.String
clientId()
The client id of the group member.String
consumerId()
The consumer id of the group member.boolean
equals(Object o)
Optional<String>
groupInstanceId()
The instance id of the group member.int
hashCode()
String
host()
The host where the group member is running.String
toString()
-
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
-