public class ConsumerGroupDescription
extends java.lang.Object
Constructor and Description |
---|
ConsumerGroupDescription(java.lang.String groupId,
boolean isSimpleConsumerGroup,
java.util.Collection<MemberDescription> members,
java.lang.String partitionAssignor,
ConsumerGroupState state,
Node coordinator) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<AclOperation> |
authorizedOperations()
authorizedOperations for this group, or null if that information is not known.
|
Node |
coordinator()
The consumer group coordinator, or null if the coordinator is not known.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
groupId()
The id of the consumer group.
|
int |
hashCode() |
boolean |
isSimpleConsumerGroup()
If consumer group is simple or not.
|
java.util.Collection<MemberDescription> |
members()
A list of the members of the consumer group.
|
java.lang.String |
partitionAssignor()
The consumer group partition assignor.
|
ConsumerGroupState |
state()
The consumer group state, or UNKNOWN if the state is too new for us to parse.
|
java.lang.String |
toString() |
public ConsumerGroupDescription(java.lang.String groupId, boolean isSimpleConsumerGroup, java.util.Collection<MemberDescription> members, java.lang.String partitionAssignor, ConsumerGroupState state, Node coordinator)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String groupId()
public boolean isSimpleConsumerGroup()
public java.util.Collection<MemberDescription> members()
public java.lang.String partitionAssignor()
public ConsumerGroupState state()
public Node coordinator()
public java.util.Set<AclOperation> authorizedOperations()
public java.lang.String toString()
toString
in class java.lang.Object