Class KafkaTridentSpoutTransactional<K,V>
java.lang.Object
org.apache.storm.kafka.spout.trident.KafkaTridentSpoutTransactional<K,V>
- All Implemented Interfaces:
Serializable
,IPartitionedTridentSpout<List<Map<String,
,Object>>, KafkaTridentSpoutTopicPartition, Map<String, Object>> ITridentDataSource
public class KafkaTridentSpoutTransactional<K,V>
extends Object
implements IPartitionedTridentSpout<List<Map<String,Object>>,KafkaTridentSpoutTopicPartition,Map<String,Object>>, Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.storm.trident.spout.IPartitionedTridentSpout
IPartitionedTridentSpout.Coordinator<PartitionsT>, IPartitionedTridentSpout.Emitter<PartitionsT,
PartitionT extends ISpoutPartition, X> -
Constructor Summary
ConstructorDescriptionKafkaTridentSpoutTransactional
(KafkaTridentSpoutConfig<K, V> kafkaSpoutConfig) Creates a new non-opaque transactional Trident Kafka spout. -
Method Summary
Modifier and TypeMethodDescriptiongetCoordinator
(Map<String, Object> conf, TopologyContext context) IPartitionedTridentSpout.Emitter<List<Map<String,
Object>>, KafkaTridentSpoutTopicPartition, Map<String, Object>> getEmitter
(Map<String, Object> conf, TopologyContext context)
-
Constructor Details
-
KafkaTridentSpoutTransactional
Creates a new non-opaque transactional Trident Kafka spout.
-
-
Method Details
-
getCoordinator
public IPartitionedTridentSpout.Coordinator<List<Map<String,Object>>> getCoordinator(Map<String, Object> conf, TopologyContext context) - Specified by:
getCoordinator
in interfaceIPartitionedTridentSpout<List<Map<String,
Object>>, KafkaTridentSpoutTopicPartition, Map<String, Object>>
-
getEmitter
public IPartitionedTridentSpout.Emitter<List<Map<String,Object>>, getEmitterKafkaTridentSpoutTopicPartition, Map<String, Object>> (Map<String, Object> conf, TopologyContext context) - Specified by:
getEmitter
in interfaceIPartitionedTridentSpout<List<Map<String,
Object>>, KafkaTridentSpoutTopicPartition, Map<String, Object>>
-
getComponentConfiguration
- Specified by:
getComponentConfiguration
in interfaceIPartitionedTridentSpout<List<Map<String,
Object>>, KafkaTridentSpoutTopicPartition, Map<String, Object>>
-
getOutputFields
- Specified by:
getOutputFields
in interfaceIPartitionedTridentSpout<List<Map<String,
Object>>, KafkaTridentSpoutTopicPartition, Map<String, Object>>
-