Modifier and Type | Method and Description |
---|---|
KafkaSpoutConfig.FirstPollOffsetStrategy |
KafkaSpoutConfig.getFirstPollOffsetStrategy() |
static KafkaSpoutConfig.FirstPollOffsetStrategy |
KafkaSpoutConfig.FirstPollOffsetStrategy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KafkaSpoutConfig.FirstPollOffsetStrategy[] |
KafkaSpoutConfig.FirstPollOffsetStrategy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
KafkaSpoutConfig.Builder<K,V> |
KafkaSpoutConfig.Builder.setFirstPollOffsetStrategy(KafkaSpoutConfig.FirstPollOffsetStrategy firstPollOffsetStrategy)
Sets the offset used by the Kafka spout in the first poll to Kafka broker upon process start.
|
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.