didi / KnowStreaming

一站式云原生实时流数据平台,通过0侵入、插件化构建企业级Kafka服务,极大降低操作、存储和管理实时流数据门槛
https://knowstreaming.com
GNU Affero General Public License v3.0
6.93k stars 1.28k forks source link

How to check whether jmx is enabled through logikm #504

Closed moluzhui closed 2 years ago

moluzhui commented 2 years ago

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.

ZQKC commented 2 years ago

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 commented 2 years ago

No more feedback, and close the issue