Package org.apache.kafka.clients.admin
Class MemberDescription
- java.lang.Object
-
- org.apache.kafka.clients.admin.MemberDescription
-
public class MemberDescription extends java.lang.Object
A detailed description of a single group instance in the cluster.
-
-
Constructor Summary
Constructors Constructor Description MemberDescription(java.lang.String memberId, java.lang.String clientId, java.lang.String host, MemberAssignment assignment)
MemberDescription(java.lang.String memberId, java.util.Optional<java.lang.String> groupInstanceId, java.lang.String clientId, java.lang.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.java.lang.String
clientId()
The client id of the group member.java.lang.String
consumerId()
The consumer id of the group member.boolean
equals(java.lang.Object o)
java.util.Optional<java.lang.String>
groupInstanceId()
The instance id of the group member.int
hashCode()
java.lang.String
host()
The host where the group member is running.java.lang.String
toString()
-
-
-
Constructor Detail
-
MemberDescription
public MemberDescription(java.lang.String memberId, java.util.Optional<java.lang.String> groupInstanceId, java.lang.String clientId, java.lang.String host, MemberAssignment assignment)
-
MemberDescription
public MemberDescription(java.lang.String memberId, java.lang.String clientId, java.lang.String host, MemberAssignment assignment)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
consumerId
public java.lang.String consumerId()
The consumer id of the group member.
-
groupInstanceId
public java.util.Optional<java.lang.String> groupInstanceId()
The instance id of the group member.
-
clientId
public java.lang.String clientId()
The client id of the group member.
-
host
public java.lang.String host()
The host where the group member is running.
-
assignment
public MemberAssignment assignment()
The assignment of the group member.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-