use of org.openkilda.wfm.topology.network.storm.bolt.RerouteEncoder in project open-kilda by telstra.
the class NetworkTopology method outputReroute.
private void outputReroute(TopologyBuilder topology) {
RerouteEncoder bolt = new RerouteEncoder();
declareBolt(topology, bolt, RerouteEncoder.BOLT_ID).shuffleGrouping(IslHandler.BOLT_ID, IslHandler.STREAM_REROUTE_ID).shuffleGrouping(SwitchHandler.BOLT_ID, SwitchHandler.STREAM_REROUTE_ID);
KafkaBolt output = buildKafkaBolt(kafkaTopics.getTopoRerouteTopic());
declareBolt(topology, output, ComponentId.REROUTE_OUTPUT.toString()).shuffleGrouping(RerouteEncoder.BOLT_ID);
}
Aggregations