1 year ago

#219852

test-img

Sun

JConsole connection failed to Kafka

I am following the steps provided by the documentation.

https://www.datadoghq.com/blog/collecting-kafka-performance-metrics/#collect-kafka-performance-metrics-with-jconsole

I added these fields:

-Dcom.sun.management.jmxremote.port=9010 
-Dcom.sun.management.jmxremote.rmi.port=9123 
-Djava.rmi.server.hostname=MY_EC2_IP_ADDRESS

And I tried in local JConsole With

MY_EC2_IP_ADDRESS:9010

and I tried with 9999 and 9123 ports also.

and with username and password. But I am getting:

Connection Failed, Operation time out.

java

apache-kafka

jconsole

0 Answers

Your Answer

Accepted video resources