public class ConsumerGroupDescription extends Object
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
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(Object o) |
String |
groupId()
The id of the consumer group.
|
int |
hashCode() |
boolean |
isSimpleConsumerGroup()
If consumer group is simple or not.
|
Collection<MemberDescription> |
members()
A list of the members of the consumer group.
|
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.
|
String |
toString() |
public ConsumerGroupDescription(String groupId, boolean isSimpleConsumerGroup, Collection<MemberDescription> members, String partitionAssignor, ConsumerGroupState state, Node coordinator)
public ConsumerGroupDescription(String groupId, boolean isSimpleConsumerGroup, Collection<MemberDescription> members, String partitionAssignor, ConsumerGroupState state, Node coordinator, Set<AclOperation> authorizedOperations)
public String groupId()
public boolean isSimpleConsumerGroup()
public Collection<MemberDescription> members()
public String partitionAssignor()
public ConsumerGroupState state()
public Node coordinator()
public Set<AclOperation> authorizedOperations()