KnowStreaming icon indicating copy to clipboard operation
KnowStreaming copied to clipboard

How to check whether jmx is enabled through logikm

Open moluzhui opened this issue 3 years ago • 1 comments

After connecting to the kafka cluster, can logik check whether jmx is enabled? After connecting to several clusters, it seems that it can be determined by the broker information of the cluster details. The unopened jmx port is -1, and the open is another port, but in the document is not explicitly given in.

image

Is it possible to judge based on this -1? Or maybe other observability metrics

Looking forward to your reply.

moluzhui avatar Jul 12 '22 08:07 moluzhui

After connecting to the kafka cluster, can logik check whether jmx is enabled? After connecting to several clusters, it seems that it can be determined by the broker information of the cluster details. The unopened jmx port is -1, and the open is another port, but in the document is not explicitly given in.

image

Is it possible to judge based on this -1? Or maybe other observability metrics

Looking forward to your reply.

Yes, the unopened JMX port is -1. But even if the JMX port isn't -1, it may also cause to connect JMX failed due to network impassability and etc. And if the JMX disabled through LogiKM, the LogiKM will print the error log and usually you can solve it by: https://github.com/didi/LogiKM/blob/master/docs/dev_guide/connect_jmx_failed.md

ZQKC avatar Jul 26 '22 02:07 ZQKC

No more feedback, and close the issue

ZQKC avatar Sep 06 '22 07:09 ZQKC