use of org.openkilda.wfm.topology.network.storm.bolt.NorthboundEncoder in project open-kilda by telstra.
the class NetworkTopology method outputNorthbound.
private void outputNorthbound(TopologyBuilder topology) {
NorthboundEncoder bolt = new NorthboundEncoder();
declareBolt(topology, bolt, NorthboundEncoder.BOLT_ID).shuffleGrouping(PortHandler.BOLT_ID, PortHandler.STREAM_NORTHBOUND_ID);
KafkaBolt kafkaNorthboundBolt = buildKafkaBolt(kafkaTopics.getNorthboundTopic());
declareBolt(topology, kafkaNorthboundBolt, ComponentId.NB_OUTPUT.toString()).shuffleGrouping(NorthboundEncoder.BOLT_ID);
}
Aggregations