storm.kafka.bolt.mapper.FieldNameBasedTupleToKafkaMapper Java Examples
The following examples show how to use
storm.kafka.bolt.mapper.FieldNameBasedTupleToKafkaMapper.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SecurityLogParserBolt.java From eagle with Apache License 2.0 | 4 votes |
@Override public void declareOutputFields(OutputFieldsDeclarer outputFieldsDeclarer) { outputFieldsDeclarer.declare(new Fields(FieldNameBasedTupleToKafkaMapper.BOLT_KEY, FieldNameBasedTupleToKafkaMapper.BOLT_MESSAGE)); }
Example #2
Source File: HealthCheckParseBolt.java From eagle with Apache License 2.0 | 4 votes |
@Override public void declareOutputFields(OutputFieldsDeclarer outputFieldsDeclarer) { outputFieldsDeclarer.declare(new Fields(FieldNameBasedTupleToKafkaMapper.BOLT_KEY, FieldNameBasedTupleToKafkaMapper.BOLT_MESSAGE)); }
Example #3
Source File: KafkaProducer.java From storm-benchmark with Apache License 2.0 | 4 votes |
@Override public void declareOutputFields(OutputFieldsDeclarer declarer) { declarer.declare(new Fields(FieldNameBasedTupleToKafkaMapper.BOLT_KEY, FieldNameBasedTupleToKafkaMapper.BOLT_MESSAGE)); }