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());
}
Aggregations