use of org.openkilda.wfm.topology.network.storm.bolt.SwitchManagerEncoder in project open-kilda by telstra.
the class NetworkTopology method outputSwitchManager.
private void outputSwitchManager(TopologyBuilder topology) {
SwitchManagerEncoder bolt = new SwitchManagerEncoder();
declareBolt(topology, bolt, SwitchManagerEncoder.BOLT_ID).shuffleGrouping(SwitchManagerWorker.BOLT_ID);
KafkaBolt output = buildKafkaBolt(kafkaTopics.getTopoSwitchManagerNetworkTopic());
declareBolt(topology, output, ComponentId.SWMANAGER_OUTPUT.toString()).shuffleGrouping(SwitchManagerEncoder.BOLT_ID);
}
Aggregations