kafka开启JMX

在kafka-run-class.sh
第一行
JMX_PORT=9999
在kafka-server-start.sh
文件中添加
export JMX_PORT=“9999”

你可能感兴趣的:(kafka,java)