use of org.openkilda.wfm.topology.network.storm.bolt.StatusEncoder in project open-kilda by telstra.
the class NetworkTopology method outputStatus.
private void outputStatus(TopologyBuilder topology) {
StatusEncoder bolt = new StatusEncoder();
declareBolt(topology, bolt, StatusEncoder.BOLT_ID).shuffleGrouping(IslHandler.BOLT_ID, IslHandler.STREAM_STATUS_ID);
KafkaBolt output = buildKafkaBolt(kafkaTopics.getNetworkIslStatusTopic());
declareBolt(topology, output, ComponentId.STATUS_OUTPUT.toString()).shuffleGrouping(StatusEncoder.BOLT_ID);
}
Aggregations