Package org.apache.kafka.clients.admin
Class ShareGroupDescription
java.lang.Object
org.apache.kafka.clients.admin.ShareGroupDescription
A detailed description of a single share group in the cluster.
-
Constructor Summary
ConstructorsConstructorDescriptionShareGroupDescription
(String groupId, Collection<ShareMemberDescription> members, GroupState groupState, Node coordinator, int groupEpoch, int targetAssignmentEpoch) ShareGroupDescription
(String groupId, Collection<ShareMemberDescription> members, GroupState groupState, Node coordinator, int groupEpoch, int targetAssignmentEpoch, Set<AclOperation> authorizedOperations) -
Method Summary
Modifier and TypeMethodDescriptionauthorizedOperations for this group, or null if that information is not known.The share group coordinator, or null if the coordinator is not known.boolean
int
The epoch of the share group.groupId()
The id of the share group.The group state, or UNKNOWN if the state is too new for us to parse.int
hashCode()
members()
A list of the members of the share group.int
The epoch of the target assignment.toString()
-
Constructor Details
-
ShareGroupDescription
public ShareGroupDescription(String groupId, Collection<ShareMemberDescription> members, GroupState groupState, Node coordinator, int groupEpoch, int targetAssignmentEpoch) -
ShareGroupDescription
public ShareGroupDescription(String groupId, Collection<ShareMemberDescription> members, GroupState groupState, Node coordinator, int groupEpoch, int targetAssignmentEpoch, Set<AclOperation> authorizedOperations)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
groupId
The id of the share group. -
members
A list of the members of the share group. -
groupState
The group state, or UNKNOWN if the state is too new for us to parse. -
coordinator
The share group coordinator, or null if the coordinator is not known. -
authorizedOperations
authorizedOperations for this group, or null if that information is not known. -
groupEpoch
public int groupEpoch()The epoch of the share group. -
targetAssignmentEpoch
public int targetAssignmentEpoch()The epoch of the target assignment. -
toString
-