public static enum SimpleKafkaConsumer.Status extends Enum<SimpleKafkaConsumer.Status>
| Enum Constant and Description |
|---|
PROCESS_ERROR |
RECORDS_POLLED |
| Modifier and Type | Method and Description |
|---|---|
static SimpleKafkaConsumer.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleKafkaConsumer.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleKafkaConsumer.Status RECORDS_POLLED
public static final SimpleKafkaConsumer.Status PROCESS_ERROR
public static SimpleKafkaConsumer.Status[] values()
for (SimpleKafkaConsumer.Status c : SimpleKafkaConsumer.Status.values()) System.out.println(c);
public static SimpleKafkaConsumer.Status 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 © 2016. All rights reserved.