# Monitoring Apache Kafka MirrorMaker 2

**URL:** <https://discuss.elastic.co/t/monitoring-apache-kafka-mirrormaker-2/324587>\
**Category:** Beats\
**Tags:** metricbeat\
**Created:** [February 3, 2023, 1:48am UTC](https://discuss.elastic.co/t/monitoring-apache-kafka-mirrormaker-2/324587 "2023-02-03T01:48:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![perrocontodo](https://avatars.discourse-cdn.com/v4/letter/p/46a35a/32.png) [@perrocontodo](https://discuss.elastic.co/u/perrocontodo)\
**Post date:** [February 3, 2023, 1:48am UTC](https://discuss.elastic.co/t/monitoring-apache-kafka-mirrormaker-2/324587/1 "2023-02-03T01:48:15Z")

</div>

I was wondering if there are any plans to update the Metricbeat module for Kafka, to allow monitoring of MirrorMaker 2. AFAICS there are a few metricsets that make use of JMX to extract information about Kafka. For example there's a "broker" module [here](https://github.com/elastic/beats/tree/main/metricbeat/module/kafka/broker) that connects to JMX (through Jolokia) to retrieve info about the broker.

I feel something similar could be done with MirrorMaker (see more info [here](https://kafka.apache.org/documentation/#georeplication-monitoring)). I couldn't find any PR related to this. And I was wondering if someone already considered adding this to Metricbeat.

Thanks for your help in advance!

---

<div class="post-metadata">

**Author:** ![lalits](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lalits/32/107097_2.png) [@lalits](https://discuss.elastic.co/u/lalits)\
**Post date:** [February 9, 2023, 10:29am UTC](https://discuss.elastic.co/t/monitoring-apache-kafka-mirrormaker-2/324587/2 "2023-02-09T10:29:55Z")

</div>

Would the monitoring work, if you use the [jolokia](https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-jolokia.html) module directly?

We can create an issue to track an enhancement.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 9, 2023, 12:30pm UTC](https://discuss.elastic.co/t/monitoring-apache-kafka-mirrormaker-2/324587/3 "2023-03-09T12:30:30Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
