Search in sources :

Example 1 with OutputCollectorImpl

use of org.apache.storm.task.OutputCollectorImpl in project heron by twitter.

the class IRichBoltDelegate method prepare.

@Override
@SuppressWarnings("rawtypes")
public void prepare(Map conf, com.twitter.heron.api.topology.TopologyContext context, com.twitter.heron.api.bolt.OutputCollector collector) {
    topologyContextImpl = new TopologyContext(context);
    outputCollectorImpl = new OutputCollectorImpl(collector);
    delegate.prepare(conf, topologyContextImpl, outputCollectorImpl);
}
Also used : TopologyContext(org.apache.storm.task.TopologyContext) OutputCollectorImpl(org.apache.storm.task.OutputCollectorImpl)

Aggregations

OutputCollectorImpl (org.apache.storm.task.OutputCollectorImpl)1 TopologyContext (org.apache.storm.task.TopologyContext)1