Hi Community,

What configuration do I need to enable metrics2 sink into a kafka broker?

I tried with the following properties in Hadoop-metrics2.properties :

*.sink.kafka.broker_list = kafka-broker-1-hostname:9092
*.sink.kafka.class = org.apache.hadoop.metrics2.sink.KafkaSink
*.sink.kafka.period = 2
*.sink.kafka.topic = hadoop_metrics

However, with above properties in place, I still do not see the metrics being 
written into the topic.
Please suggest what else I may need to add/modify.

Best,
Ankur Khanna

Reply via email to