kafka开启JMX
时间:2020-06-23 12:42:31
收藏:0
阅读:252
kafka开启JMX
如果直接 修改kafka-run-class.sh脚本,第一行增加JMX_PORT=9988。 会导致消费者消费失败
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 9999; nested exception is:
java.net.BindException: Address already in use (Bind failed)
在kafka-server-start.sh 添加一条 export JMX_PORT=9988 即可
原文:https://www.cnblogs.com/fanever/p/13181138.html
评论(0)