Support Questions

Find answers, ask questions, and share your expertise

How to update Kafka startup script in Amabari (HDP 2.5)

Expert Contributor

hi - i'm trying to configure kafka startup script, so Prometheus is able to read metrics from Kafka.

I need to add the following to the Broker startup script :

-javaagent:/path/to/jmx_exporter.jar=$PORT:$CONFIG

Where in Ambari can i modify the Kafka Broker startup script ?

1 REPLY 1

Super Guru
@Karan Alang

Check /var/lib/ambari-server/resources/common-services/KAFKA/<version>/package/scripts/kafka_broker.py and other scripts in the same directory and let me know if it helps.