Visual VM provides and easy access to remote VM where can can monitor the JMX connection using the below configurations :
1) Open file kafka/kafka-0.9.0/bin/kafka-run-class.sh where we can add the required JMX configurations
KAFKA_JMX_OPTS="-Dcom.sun.management.jmxremote.port=1234 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=sn2"
2) Restart the kafka-connect distributed process.
3) Add JMX connection to remote VM using IP and port defined in #1
4) Now we can monitor the CPU , Heap , Classes loaded and Threads usage details
Thank you.Well it was nice post and very helpful information on Big Data Hadoop Online Training Bangalore
ReplyDelete