简体   繁体   中英

How to enable JMX Metrics for Strimzi-Kafka Bridge

I'm enabling JMX port for Strimzi-Kafka bridge by adding these lines in the Kafka-Bridge.sh file.

-Dcom.sun.management.jmxremote.port=9250
-Dcom.sun.management.jmxremote.rmi.port=9250 
-Dcom.sun.management.jmxremote.authenticate=false 
-Dcom.sun.management.jmxremote.ssl=false

After this, when I run strimzi and check it in JConsole for the available Metrics, I only get to see basic Java metrics. But no Strimzi specific metrics are available.

Strimzi-Kafka-Bridge 应用程序公开指标的 JConsole 图像

Is there a way to enable strimzi specific Metrics? Is there any more configuration required?

The Strimzi HTTP Bridge doesn't support JMX connections. So I do not think you can do that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM