Package org.apache.kafka.clients.admin
Class ConsumerGroupDescription
java.lang.Object
org.apache.kafka.clients.admin.ConsumerGroupDescription
public class ConsumerGroupDescription extends Object
A detailed description of a single consumer group in the cluster.
-
Constructor Summary
Constructors Constructor Description ConsumerGroupDescription(String groupId, boolean isSimpleConsumerGroup, Collection<MemberDescription> members, String partitionAssignor, ConsumerGroupState state, Node coordinator)ConsumerGroupDescription(String groupId, boolean isSimpleConsumerGroup, Collection<MemberDescription> members, String partitionAssignor, ConsumerGroupState state, Node coordinator, Set<AclOperation> authorizedOperations) -
Method Summary
Modifier and Type Method Description Set<AclOperation>authorizedOperations()authorizedOperations for this group, or null if that information is not known.Nodecoordinator()The consumer group coordinator, or null if the coordinator is not known.booleanequals(Object o)StringgroupId()The id of the consumer group.inthashCode()booleanisSimpleConsumerGroup()If consumer group is simple or not.Collection<MemberDescription>members()A list of the members of the consumer group.StringpartitionAssignor()The consumer group partition assignor.ConsumerGroupStatestate()The consumer group state, or UNKNOWN if the state is too new for us to parse.StringtoString()
-
Constructor Details
-
ConsumerGroupDescription
public ConsumerGroupDescription(String groupId, boolean isSimpleConsumerGroup, Collection<MemberDescription> members, String partitionAssignor, ConsumerGroupState state, Node coordinator) -
ConsumerGroupDescription
public ConsumerGroupDescription(String groupId, boolean isSimpleConsumerGroup, Collection<MemberDescription> members, String partitionAssignor, ConsumerGroupState state, Node coordinator, Set<AclOperation> authorizedOperations)
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
groupId
The id of the consumer group. -
isSimpleConsumerGroup
public boolean isSimpleConsumerGroup()If consumer group is simple or not. -
members
A list of the members of the consumer group. -
partitionAssignor
The consumer group partition assignor. -
state
The consumer group state, or UNKNOWN if the state is too new for us to parse. -
coordinator
The consumer group coordinator, or null if the coordinator is not known. -
authorizedOperations
authorizedOperations for this group, or null if that information is not known. -
toString
-