Search in sources :

Example 1 with OutputCollectorImpl

use of backtype.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(backtype.storm.task.TopologyContext) OutputCollectorImpl(backtype.storm.task.OutputCollectorImpl)

Aggregations

OutputCollectorImpl (backtype.storm.task.OutputCollectorImpl)1 TopologyContext (backtype.storm.task.TopologyContext)1