kafka metric java,jmx_exporter+prometheus+grafana实现kafka metric监控
2.配置kafka的JMXPORT,修改bin/kafka-server-start.sh,添加一行exportJMX_PORT="9999",我这里用了9999端口。3.下载jmx_exporter,链接https://github.com/prometheus/jmx_exporter,我将文件放在/opt/kafka/kafka_2.11-1.0.0/jmx_prometheus_javaa