Search in sources :

Example 1 with RulesBolt

use of com.hortonworks.streamline.streams.runtime.storm.bolt.rules.RulesBolt in project streamline by hortonworks.

the class SplitJoinTopologyTest method createSplitBolt.

private RulesBolt createSplitBolt() {
    SplitAction splitAction = new SplitAction();
    splitAction.setOutputStreams(Collections.singleton(SPLIT_STREAM_ID.getId()));
    SplitRulesProcessor splitRulesProcessor = new SplitRulesProcessor(SPLIT_STREAM_ID, splitAction);
    return new RulesBolt(splitRulesProcessor.get(), getScriptType());
}
Also used : SplitAction(com.hortonworks.streamline.streams.layout.component.impl.splitjoin.SplitAction) RulesBolt(com.hortonworks.streamline.streams.runtime.storm.bolt.rules.RulesBolt)

Aggregations

SplitAction (com.hortonworks.streamline.streams.layout.component.impl.splitjoin.SplitAction)1 RulesBolt (com.hortonworks.streamline.streams.runtime.storm.bolt.rules.RulesBolt)1