-
Notifications
You must be signed in to change notification settings - Fork 734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connection refused - Failed to get broker metrics with Kafka Manager #192
Comments
Based on the first line of the error message it looks like Kafka Manager tries the IP from the "outside" listener. That's a host ip, which won't work with the JMX port (unless we also make it a Based on 4c202f4 I think we list listeners in the proper order. |
The two commits looks very relevant |
Indeed. Maybe something will behave differently with next release. However, our outside listener is also PLAINTEXT (by default). A single PLAINTEXT listener probably works. |
@solsson the configuration to take into account is advertised.listeners or listeners. The order does matter as the official documentation mentions. The configuration you mention here is not the one relevant for zookeeper consumers (I might've interpreted wrong though). |
That's interesting. From the commit comment you reference it looks like I made the switch base don Kafka Manager. Switching back is a risky change to do now because I don't know what it affects. Do you mean that the referenced configuration is relevant to Kafka clients, but not to stuff that contacts Zookeeper directly? |
Hi guys, sorry may be a dumb one but why is advertised.listeners set to point to the k8s host ip ? (#init#advertised.listeners=OUTSIDE://#init#,PLAINTEXT://:9092 results in advertised.listeners=OUTSIDE://172.31.221.5:32400,PLAINTEXT://:9092 ) . Nothing listens on 3240 on the hosts. why isn't it a pod's hostname which would resolve into cluster ip and there would be connection on jmx port for that ip? |
…ix jmx monitoring
Thanks for the pointer, implemented and verified with #251. |
#192 change order of advertised.listeners (internal first) to fix jmx…
@solsson: I've been experimenting with microk8s and the confluent https://github.com/confluentinc/cp-helm-charts repo. Looking at Confluents Broker Configuration:
I'd say we can confirm to have made the proper change (switching OUTSIDE and PLAINTEXT). |
Great. Working on Kafka Manager upgrade in #257. |
Topic management works, but the metrics part of Kafka Manager is non-functional. Logs display repeated errors like:
The text was updated successfully, but these errors were encountered: