use of org.apache.storm.kafka.bolt.KafkaBolt in project open-kilda by telstra.
the class SwitchManagerTopology method metrics.
private void metrics(TopologyBuilder topologyBuilder) {
String openTsdbTopic = topologyConfig.getKafkaTopics().getOtsdbTopic();
KafkaBolt kafkaBolt = createKafkaBolt(openTsdbTopic);
topologyBuilder.setBolt(METRICS_BOLT, kafkaBolt).shuffleGrouping(SwitchManagerHub.ID, StreamType.HUB_TO_METRICS_BOLT.name());
}
Aggregations