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

Are there any possible methods to collect consumer/connect/producer message on the kafka server node with jmxtrans #4

@cmciris

Description

@cmciris

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=*

  1. bytes-consumed-rate
  2. fetch-latency-avg
  3. fetch-rate
  4. records-lag-max
  5. records-per-request-avg

ConnectMetrics
kafka.producer:type=producer-metrics,client-id=*

  1. request-latency-avg
  2. request-latency-max
  3. request-rate
  4. response-rate
  5. incoming-byte-rate

are there any Mbeans providing similar attribute in kafka.server?
Thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions