Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Highlighted

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

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

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.

Don't have an account?
Coming from Hortonworks? Activate your account here