Modifier and Type | Class and Description |
---|---|
class |
KafkaSpoutStreamsNamedTopics
Represents the
KafkaSpoutStream associated with each topic, and provides a public API to declare output streams and emmit tuples, on the appropriate stream, for all the topics specified. |
class |
KafkaSpoutStreamsWildcardTopics |
Modifier and Type | Method and Description |
---|---|
KafkaSpoutStreams |
KafkaSpoutConfig.getKafkaSpoutStreams() |
Constructor and Description |
---|
Builder(Map<String,Object> kafkaProps,
KafkaSpoutStreams kafkaSpoutStreams,
KafkaSpoutTuplesBuilder<K,V> tuplesBuilder)
Please refer to javadoc in
#Builder(Map, KafkaSpoutStreams, KafkaSpoutTuplesBuilder, KafkaSpoutRetryService) . This constructor uses by the default the following implementation for KafkaSpoutRetryService : new KafkaSpoutRetryExponentialBackoff(TimeInterval.seconds(0), TimeInterval.milliSeconds(2),
DEFAULT_MAX_RETRIES, TimeInterval.seconds(10))) |
Builder(Map<String,Object> kafkaProps,
KafkaSpoutStreams kafkaSpoutStreams,
KafkaSpoutTuplesBuilder<K,V> tuplesBuilder,
KafkaSpoutRetryService retryService)
KafkaSpoutConfig defines the required configuration to connect a consumer to a consumer group, as well as the subscribing topics The optional configuration can be specified using the set methods of this builder
|
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.