Class MemberDescription
java.lang.Object
org.apache.kafka.clients.admin.MemberDescription
A detailed description of a single group member in the cluster.
-
Constructor Summary
ConstructorsConstructorDescriptionMemberDescription(String memberId, String clientId, String host, MemberAssignment assignment) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.0.MemberDescription(String memberId, Optional<String> groupInstanceId, String clientId, String host, MemberAssignment assignment) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.0.MemberDescription(String memberId, Optional<String> groupInstanceId, String clientId, String host, MemberAssignment assignment, Optional<MemberAssignment> targetAssignment) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.0.MemberDescription(String memberId, Optional<String> groupInstanceId, String clientId, String host, MemberAssignment assignment, Optional<MemberAssignment> targetAssignment, Optional<Integer> memberEpoch, Optional<Boolean> upgraded) Deprecated, for removal: This API element is subject to removal in a future version.Since 4.2.MemberDescription(String memberId, Optional<String> groupInstanceId, Optional<String> rackId, String clientId, String host, MemberAssignment assignment, Optional<MemberAssignment> targetAssignment, Optional<Integer> memberEpoch, Optional<Boolean> upgraded) -
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.booleanThe instance id of the group member.inthashCode()host()The host where the group member is running.The epoch of the group member.rackId()The rack id of the group member.The target assignment of the member.toString()upgraded()The flag indicating whether a member within aGroupType.CONSUMERgroup uses theGroupType.CONSUMERprotocol.
-
Constructor Details
-
MemberDescription
-
MemberDescription
@Deprecated(since="4.2", forRemoval=true) public MemberDescription(String memberId, Optional<String> groupInstanceId, String clientId, String host, MemberAssignment assignment, Optional<MemberAssignment> targetAssignment, Optional<Integer> memberEpoch, Optional<Boolean> upgraded) Deprecated, for removal: This API element is subject to removal in a future version. -
MemberDescription
@Deprecated(since="4.0", forRemoval=true) public MemberDescription(String memberId, Optional<String> groupInstanceId, String clientId, String host, MemberAssignment assignment, Optional<MemberAssignment> targetAssignment) Deprecated, for removal: This API element is subject to removal in a future version. -
MemberDescription
@Deprecated(since="4.0", forRemoval=true) public MemberDescription(String memberId, Optional<String> groupInstanceId, String clientId, String host, MemberAssignment assignment) Deprecated, for removal: This API element is subject to removal in a future version. -
MemberDescription
@Deprecated(since="4.0", forRemoval=true) public MemberDescription(String memberId, String clientId, String host, MemberAssignment assignment) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
equals
-
hashCode
-
consumerId
The consumer id of the group member. -
groupInstanceId
-
rackId
-
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. -
memberEpoch
The epoch of the group member. The optional is set to an integer if the member is in aGroupType.CONSUMERgroup, and to empty if it is in aGroupType.CLASSICgroup. -
upgraded
The flag indicating whether a member within aGroupType.CONSUMERgroup uses theGroupType.CONSUMERprotocol. The optional is set to true if it does, to false if it does not, and to empty if it is unknown or if the group is aGroupType.CLASSICgroup. -
toString
-