use of org.openkilda.wfm.topology.ping.bolt.NorthboundEncoder in project open-kilda by telstra.
the class PingTopology method northboundEncoder.
private void northboundEncoder(TopologyBuilder topology) {
NorthboundEncoder bolt = new NorthboundEncoder();
declareBolt(topology, bolt, NorthboundEncoder.BOLT_ID).shuffleGrouping(FlowFetcher.BOLT_ID, FlowFetcher.STREAM_ON_DEMAND_RESPONSE_ID).shuffleGrouping(FlowFetcher.BOLT_ID, FlowFetcher.STREAM_ON_DEMAND_Y_FLOW_RESPONSE_ID).shuffleGrouping(OnDemandResultManager.BOLT_ID);
KafkaBolt output = buildKafkaBolt(topologyConfig.getKafkaNorthboundTopic());
declareBolt(topology, output, ComponentId.NORTHBOUND_OUTPUT.toString()).shuffleGrouping(NorthboundEncoder.BOLT_ID);
}
Aggregations