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
All Methods Instance Methods Concrete Methods 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 Detail
-
MemberDescription
public MemberDescription(String memberId, Optional<String> groupInstanceId, String clientId, String host, MemberAssignment assignment)
-
MemberDescription
public MemberDescription(String memberId, String clientId, String host, MemberAssignment assignment)
-
-
Method Detail
-
consumerId
public String consumerId()
The consumer id of the group member.
-
clientId
public String clientId()
The client id of the group member.
-
host
public String host()
The host where the group member is running.
-
assignment
public MemberAssignment assignment()
The assignment of the group member.
-
-