use of org.openkilda.wfm.topology.network.storm.bolt.SpeakerEncoder in project open-kilda by telstra.
the class NetworkTopology method outputSpeaker.
private void outputSpeaker(TopologyBuilder topology) {
SpeakerEncoder bolt = new SpeakerEncoder();
declareBolt(topology, bolt, SpeakerEncoder.BOLT_ID).shuffleGrouping(WatcherHandler.BOLT_ID, WatcherHandler.STREAM_SPEAKER_ID).shuffleGrouping(BfdWorker.BOLT_ID, BfdWorker.STREAM_SPEAKER_ID);
KafkaBolt output = buildKafkaBolt(kafkaTopics.getSpeakerDiscoTopic());
declareBolt(topology, output, ComponentId.SPEAKER_OUTPUT.toString()).shuffleGrouping(SpeakerEncoder.BOLT_ID);
}
Aggregations