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 Ambari ?

Highlighted

how to update Kafka startup script in Ambari ?

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 ?

2 REPLIES 2

Re: how to update Kafka startup script in Ambari ?

Expert Contributor

@mqureshi - looping you in, any ideas ?

Re: how to update Kafka startup script in Ambari ?

Super Guru

@Karan Alang

I have not tried it myself but I think you will add your line to Kafka env template in config. So

Ambari -> Kafka > Config tab -> Advanced Kafka Env -> Kafka-env-template

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