public enum ConsumerGroupState extends java.lang.Enum<ConsumerGroupState>
| Enum Constant | Description |
|---|---|
COMPLETING_REBALANCE |
|
DEAD |
|
EMPTY |
|
PREPARING_REBALANCE |
|
STABLE |
|
UNKNOWN |
| Modifier and Type | Method | Description |
|---|---|---|
static ConsumerGroupState |
parse(java.lang.String name) |
Parse a string into a consumer group state.
|
java.lang.String |
toString() |
|
static ConsumerGroupState |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ConsumerGroupState[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsumerGroupState UNKNOWN
public static final ConsumerGroupState PREPARING_REBALANCE
public static final ConsumerGroupState COMPLETING_REBALANCE
public static final ConsumerGroupState STABLE
public static final ConsumerGroupState DEAD
public static final ConsumerGroupState EMPTY
public static ConsumerGroupState[] values()
for (ConsumerGroupState c : ConsumerGroupState.values()) System.out.println(c);
public static ConsumerGroupState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static ConsumerGroupState parse(java.lang.String name)
public java.lang.String toString()
toString in class java.lang.Enum<ConsumerGroupState>