If you are not aware of Grafana and Prometheus then... You can enable JMx_PORT on kafka broker. Install and run kafka manager. https://github.com/lemastero/kafka-manager
There you can see metrics on kafka manager UI. But yes, grafana-prometheus is Better one. On Thu, 19 Mar 2020 at 12:25 PM, 张祥 <xiangzhang1...@gmail.com> wrote: > Hi, > > I want to know what the best practice to collect Kafka JMX metrics is. I > haven't found a decent way to collect and parse JMX in Java (because it is > too much) and I learn that there are tools like tools like jmxtrans to do > this. I wonder if there is more. Thanks. Regards. >