public interface IBasicBolt extends IComponent
Modifier and Type | Method and Description |
---|---|
void |
cleanup() |
void |
execute(Tuple input,
BasicOutputCollector collector)
Process the input tuple and optionally emit new tuples based on the input tuple.
|
void |
prepare(Map<String,Object> topoConf,
TopologyContext context) |
declareOutputFields, getComponentConfiguration
void prepare(Map<String,Object> topoConf, TopologyContext context)
void execute(Tuple input, BasicOutputCollector collector)
Process the input tuple and optionally emit new tuples based on the input tuple.
All acking is managed for you. Throw a FailedException if you want to fail the tuple.
void cleanup()
Copyright © 2022 The Apache Software Foundation. All rights reserved.