use of org.openkilda.wfm.topology.network.storm.bolt.SpeakerRulesEncoder in project open-kilda by telstra.
the class NetworkTopology method outputSpeakerRules.
private void outputSpeakerRules(TopologyBuilder topology) {
SpeakerRulesEncoder encoderRules = new SpeakerRulesEncoder();
declareBolt(topology, encoderRules, SpeakerRulesEncoder.BOLT_ID).shuffleGrouping(SpeakerRulesWorker.BOLT_ID);
KafkaBolt outputRules = buildKafkaBolt(kafkaTopics.getSpeakerTopic());
declareBolt(topology, outputRules, ComponentId.SPEAKER_RULES_OUTPUT.toString()).shuffleGrouping(SpeakerRulesEncoder.BOLT_ID);
}
Aggregations