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 stormConf,
TopologyContext context) |
declareOutputFields, getComponentConfigurationvoid prepare(Map stormConf, 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.