public enum ConsumerStatus extends Enum<ConsumerStatus>
| Enum Constant and Description |
|---|
BACKOFF |
CONSUMING |
FETCHING |
INITIALIZING |
PENDING |
READY_TO_CONSUME |
READY_TO_FETCH |
WAIT_FOR_RESTART |
| Modifier and Type | Method and Description |
|---|---|
static ConsumerStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsumerStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsumerStatus PENDING
public static final ConsumerStatus INITIALIZING
public static final ConsumerStatus READY_TO_FETCH
public static final ConsumerStatus FETCHING
public static final ConsumerStatus READY_TO_CONSUME
public static final ConsumerStatus CONSUMING
public static final ConsumerStatus BACKOFF
public static final ConsumerStatus WAIT_FOR_RESTART
public static ConsumerStatus[] values()
for (ConsumerStatus c : ConsumerStatus.values()) System.out.println(c);
public static ConsumerStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2025. All rights reserved.