Hi @mmuehlbeyer, I’ve raised the similar in How to enable the metrics in rest proxy and then I came across this thread.
I’ve followed your suggestion in github, but I still can’t access the jmx/metric endpoint at port 1095
I use confluentinc/cp-kafka-rest:7.7.1 and it is also deployed to k8s cluster. Would you please help me get this fix? I’ve googled a lot but I couldn’t find any helpful suggestions.
Thanks
- name: KAFKA_REST_JMX_OPTS
value: -Djava.rmi.server.hostname=localhost -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=1095 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.rmi.port=1095
- name: KAFKA_REST_JMX_PORT
value: "1095"