Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.