public class KafkaTridentSpoutOpaque<K,V> extends Object implements IOpaquePartitionedTridentSpout<List<Map<String,Object>>,KafkaTridentSpoutTopicPartition,Map<String,Object>>
IOpaquePartitionedTridentSpout.Coordinator<PartitionsT>, IOpaquePartitionedTridentSpout.Emitter<PartitionsT,PartitionT extends ISpoutPartition,M>
Constructor and Description |
---|
KafkaTridentSpoutOpaque(KafkaTridentSpoutConfig<K,V> kafkaSpoutConfig)
Creates a new opaque transactional Trident Kafka spout.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getComponentConfiguration() |
IOpaquePartitionedTridentSpout.Coordinator<List<Map<String,Object>>> |
getCoordinator(Map<String,Object> conf,
TopologyContext context) |
IOpaquePartitionedTridentSpout.Emitter<List<Map<String,Object>>,KafkaTridentSpoutTopicPartition,Map<String,Object>> |
getEmitter(Map<String,Object> conf,
TopologyContext context) |
Fields |
getOutputFields() |
String |
toString() |
public KafkaTridentSpoutOpaque(KafkaTridentSpoutConfig<K,V> kafkaSpoutConfig)
public IOpaquePartitionedTridentSpout.Emitter<List<Map<String,Object>>,KafkaTridentSpoutTopicPartition,Map<String,Object>> getEmitter(Map<String,Object> conf, TopologyContext context)
getEmitter
in interface IOpaquePartitionedTridentSpout<List<Map<String,Object>>,KafkaTridentSpoutTopicPartition,Map<String,Object>>
public IOpaquePartitionedTridentSpout.Coordinator<List<Map<String,Object>>> getCoordinator(Map<String,Object> conf, TopologyContext context)
getCoordinator
in interface IOpaquePartitionedTridentSpout<List<Map<String,Object>>,KafkaTridentSpoutTopicPartition,Map<String,Object>>
public Map<String,Object> getComponentConfiguration()
getComponentConfiguration
in interface IOpaquePartitionedTridentSpout<List<Map<String,Object>>,KafkaTridentSpoutTopicPartition,Map<String,Object>>
public Fields getOutputFields()
getOutputFields
in interface IOpaquePartitionedTridentSpout<List<Map<String,Object>>,KafkaTridentSpoutTopicPartition,Map<String,Object>>
Copyright © 2023 The Apache Software Foundation. All rights reserved.