use of org.openkilda.wfm.topology.ping.bolt.OtsdbEncoder in project open-kilda by telstra.
the class PingTopology method otsdbEncoder.
private void otsdbEncoder(TopologyBuilder topology) {
OtsdbEncoder bolt = new OtsdbEncoder();
declareBolt(topology, bolt, OtsdbEncoder.BOLT_ID).shuffleGrouping(StatsProducer.BOLT_ID);
KafkaBolt output = createKafkaBolt(topologyConfig.getKafkaOtsdbTopic());
declareBolt(topology, output, ComponentId.OTSDB_OUTPUT.toString()).shuffleGrouping(OtsdbEncoder.BOLT_ID);
}
Aggregations