public static enum FlinkKafkaConsumer.OffsetStore extends Enum<FlinkKafkaConsumer.OffsetStore>
| Enum Constant and Description |
|---|
FLINK_ZOOKEEPER
Let Flink manage the offsets.
|
KAFKA
Use the mechanisms in Kafka to commit offsets.
|
| Modifier and Type | Method and Description |
|---|---|
static FlinkKafkaConsumer.OffsetStore |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlinkKafkaConsumer.OffsetStore[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlinkKafkaConsumer.OffsetStore FLINK_ZOOKEEPER
Use this mode when using the source with Kafka 0.8.1.x brokers.
public static final FlinkKafkaConsumer.OffsetStore KAFKA
public static FlinkKafkaConsumer.OffsetStore[] values()
for (FlinkKafkaConsumer.OffsetStore c : FlinkKafkaConsumer.OffsetStore.values()) System.out.println(c);
public static FlinkKafkaConsumer.OffsetStore 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 © 2014–2016 The Apache Software Foundation. All rights reserved.