Search in sources :

Example 1 with SpoutOutputCollectorImpl

use of backtype.storm.spout.SpoutOutputCollectorImpl in project heron by twitter.

the class IRichSpoutDelegate method open.

@Override
@SuppressWarnings("rawtypes")
public void open(Map conf, com.twitter.heron.api.topology.TopologyContext context, SpoutOutputCollector collector) {
    topologyContextImpl = new TopologyContext(context);
    spoutOutputCollectorImpl = new SpoutOutputCollectorImpl(collector);
    delegate.open(conf, topologyContextImpl, spoutOutputCollectorImpl);
}
Also used : SpoutOutputCollectorImpl(backtype.storm.spout.SpoutOutputCollectorImpl) TopologyContext(backtype.storm.task.TopologyContext)

Aggregations

SpoutOutputCollectorImpl (backtype.storm.spout.SpoutOutputCollectorImpl)1 TopologyContext (backtype.storm.task.TopologyContext)1