public class LumberjackKafkaOutput extends AbstractKafkaOutput
AbstractKafkaOutput.TopicboltProducer, exitOnFailure, producerProperties, settings| Constructor and Description |
|---|
LumberjackKafkaOutput(org.thales.punch.libraries.storm.api.NodeSettings boltConfig,
Properties producerProperties)
The properties must only contain string.
|
| Modifier and Type | Method and Description |
|---|---|
void |
prepare(Map conf,
org.apache.storm.task.TopologyContext context,
org.apache.storm.task.OutputCollector collector) |
void |
process(org.apache.storm.tuple.Tuple tuple) |
declareOutputFields, getTargetTopic, sendKafkaMessagepublic LumberjackKafkaOutput(org.thales.punch.libraries.storm.api.NodeSettings boltConfig,
Properties producerProperties)
throws org.thales.punch.exceptions.ConfigurationException
boltConfig - the bolt configurationproducerProperties - the bolt properties. You can include in these the native Kafka
producer propertiesorg.thales.punch.exceptions.ConfigurationExceptionpublic void prepare(Map conf, org.apache.storm.task.TopologyContext context, org.apache.storm.task.OutputCollector collector)
prepare in interface org.apache.storm.task.IBoltprepare in class AbstractKafkaOutputpublic void process(org.apache.storm.tuple.Tuple tuple)
process in class org.thales.punch.libraries.storm.api.BaseProcessingNodeCopyright © 2023. All rights reserved.