Search in sources :

Example 1 with FlowStatusEncoder

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);
}
Also used : FlowStatusEncoder(org.openkilda.wfm.topology.ping.bolt.FlowStatusEncoder) KafkaBolt(org.apache.storm.kafka.bolt.KafkaBolt)

Aggregations

KafkaBolt (org.apache.storm.kafka.bolt.KafkaBolt)1 FlowStatusEncoder (org.openkilda.wfm.topology.ping.bolt.FlowStatusEncoder)1