Package org.apache.kafka.clients.admin
Class ClassicGroupDescription
java.lang.Object
org.apache.kafka.clients.admin.ClassicGroupDescription
A detailed description of a single classic group in the cluster.
-
Constructor Summary
ConstructorsConstructorDescriptionClassicGroupDescription
(String groupId, String protocol, String protocolData, Collection<MemberDescription> members, ClassicGroupState state, Node coordinator) ClassicGroupDescription
(String groupId, String protocol, String protocolData, Collection<MemberDescription> members, ClassicGroupState state, Node coordinator, Set<AclOperation> authorizedOperations) -
Method Summary
Modifier and TypeMethodDescriptionauthorizedOperations for this group, or null if that information is not known.The classic group coordinator, or null if the coordinator is not known.boolean
groupId()
The id of the classic group.int
hashCode()
boolean
If the group is a simple consumer group or not.members()
A list of the members of the classic group.protocol()
The group protocol type.The group protocol data.state()
The classic group state, or UNKNOWN if the state is too new for us to parse.toString()
-
Constructor Details
-
ClassicGroupDescription
public ClassicGroupDescription(String groupId, String protocol, String protocolData, Collection<MemberDescription> members, ClassicGroupState state, Node coordinator) -
ClassicGroupDescription
public ClassicGroupDescription(String groupId, String protocol, String protocolData, Collection<MemberDescription> members, ClassicGroupState state, Node coordinator, Set<AclOperation> authorizedOperations)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
groupId
The id of the classic group. -
protocol
The group protocol type. -
protocolData
The group protocol data. The meaning depends on the group protocol type. For a classic consumer group, this is the partition assignor name. For a classic connect group, this indicates which Connect protocols are enabled. -
isSimpleConsumerGroup
public boolean isSimpleConsumerGroup()If the group is a simple consumer group or not. -
members
A list of the members of the classic group. -
state
The classic group state, or UNKNOWN if the state is too new for us to parse. -
coordinator
The classic group coordinator, or null if the coordinator is not known. -
authorizedOperations
authorizedOperations for this group, or null if that information is not known. -
toString
-