use of org.openkilda.wfm.topology.flowmonitoring.bolt.RerouteEncoder in project open-kilda by telstra.
the class FlowMonitoringTopology method outputReroute.
private void outputReroute(TopologyBuilder topology) {
RerouteEncoder bolt = new RerouteEncoder();
declareBolt(topology, bolt, RerouteEncoder.BOLT_ID).shuffleGrouping(ComponentId.ACTION_BOLT.name());
KafkaBolt output = buildKafkaBolt(getConfig().getKafkaTopoRerouteTopic());
declareBolt(topology, output, ComponentId.REROUTE_BOLT.name()).shuffleGrouping(RerouteEncoder.BOLT_ID);
}
Aggregations