public class ConsumerGroupListing extends Object
| Constructor and Description |
|---|
ConsumerGroupListing(String groupId,
boolean isSimpleConsumerGroup)
Create an instance with the specified parameters.
|
ConsumerGroupListing(String groupId,
boolean isSimpleConsumerGroup,
Optional<ConsumerGroupState> state)
Create an instance with the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
groupId()
Consumer Group Id
|
int |
hashCode() |
boolean |
isSimpleConsumerGroup()
If Consumer Group is simple or not.
|
Optional<ConsumerGroupState> |
state()
Consumer Group state
|
String |
toString() |
public ConsumerGroupListing(String groupId, boolean isSimpleConsumerGroup)
groupId - Group IdisSimpleConsumerGroup - If consumer group is simple or not.public ConsumerGroupListing(String groupId, boolean isSimpleConsumerGroup, Optional<ConsumerGroupState> state)
groupId - Group IdisSimpleConsumerGroup - If consumer group is simple or not.state - The state of the consumer grouppublic String groupId()
public boolean isSimpleConsumerGroup()
public Optional<ConsumerGroupState> state()