use of org.openkilda.wfm.topology.ping.bolt.SpeakerEncoder in project open-kilda by telstra.
the class PingTopology method speakerEncoder.
private void speakerEncoder(TopologyBuilder topology) {
SpeakerEncoder bolt = new SpeakerEncoder();
declareBolt(topology, bolt, SpeakerEncoder.BOLT_ID).shuffleGrouping(TimeoutManager.BOLT_ID, TimeoutManager.STREAM_REQUEST_ID);
KafkaBolt output = buildKafkaBolt(topologyConfig.getKafkaSpeakerFlowPingTopic());
declareBolt(topology, output, ComponentId.SPEAKER_OUTPUT.toString()).shuffleGrouping(SpeakerEncoder.BOLT_ID);
}
Aggregations