This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Description
I have read the corresponding blog you post, it did help me a lot! Monitoring kafka broker becomes easy and convenient with your guide. However I have to deploy jmxtrans on each consumers (or producer) so that I can gather corresponding consumer and producer index. Are there any possibilities for me to collect consumer/producer related index only by deploying jmxtrans on Kafka server? If it's possible, what MBean should I mention in the json configure file.
The features I would like to gather listed as follows:
ConsumerMetrics
kafka.consumer:type=consumer-fetch-manager-metrics, client-id=*
- bytes-consumed-rate
- fetch-latency-avg
- fetch-rate
- records-lag-max
- records-per-request-avg
ConnectMetrics
kafka.producer:type=producer-metrics,client-id=*
- request-latency-avg
- request-latency-max
- request-rate
- response-rate
- incoming-byte-rate
are there any Mbeans providing similar attribute in kafka.server?
Thank you very much.