java - How to monitor kafka 0.10.0 running on remote machine using jmx? -
i using kafka 0.10.0 running both in local , remote machine. when run "jvisualvm" command in terminal open java visualvm window , shows java application including kafka running in local machine.
but when tried access kafka 0.10.0 running in remote machine shows error message can not connect server
how monitor kafka 0.10.0 running on remote machine using jmx?
edit 1===> start kafka server using command
jmx_port=9999 bin/kafka-server-start.sh config/server.properties
also verified process in pointing using command
netstat -nlp | grep :9999
output: tcp6 0 0 :::9999 :::* listen 5429/java
but when try connect through local machine giving same error
you have specify jmx_port in kafka-server-start shell script before doing monitoring.
Comments
Post a Comment