use of org.openkilda.wfm.topology.ping.bolt.FlowStatusEncoder in project open-kilda by telstra.
the class PingTopology method flowStatusEncoder.
private void flowStatusEncoder(TopologyBuilder topology) {
FlowStatusEncoder bolt = new FlowStatusEncoder();
declareBolt(topology, bolt, FlowStatusEncoder.BOLT_ID).shuffleGrouping(FailReporter.BOLT_ID);
KafkaBolt output = buildKafkaBolt(topologyConfig.getKafkaFlowStatusTopic());
declareBolt(topology, output, ComponentId.FLOW_STATUS_OUTPUT.toString()).shuffleGrouping(FlowStatusEncoder.BOLT_ID);
}
Aggregations