<style>
  input.search-bar {
    box-sizing: border-box;
    margin-bottom: 30px;
    font-size: 22px;
    padding: 20px;
    padding-left: 60px;
    border: 0;
    border-radius: 4px;
    box-shadow: none;
    flex: 1;
    width: 100%;
    color: #3B454F;
    line-height: 27.5px;
    background: #F1FAFF 20px 24px no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAGqSURBVHgBrZRBTsJQEIZnHi6AkNiVeYRNDZC4xBMIN9AT0BuIJxBPwBHEExhPQDmB7NFYFiRNcNEFCZu2z5n2EUnpKwSd5KXT8vN15vWfh5AJy7KtSuXMiWNlI8I5AC7osev7Hy4cEbh7I2XrUQgYKAXWvlR5SkU93/c8OAYoZfsZUTn6dkpQNxEg2nS5ISBfgzDE3mo1nxUCuTJqb0griGO4y7Yn5ZUtRDiil9wydLMJL4PAC3KJLK7XW4qXlE0HCoI0k1TXGpo0AiDq6nzq+5/jAh5QhU9JWwj3RiBi3NFiFw7EzlZY7IZcoFLCghOiXIZ8INsBkgrVQTDv9zY32YeAaatCYN/Uxm+EfZ1MTQqh94WXVa2WRiZho9HusLU4p27GRqCu7oE9qBQ69Xrzi2zR3Qq4avYpjeK7fkT+i1wTEHcrIFO/6onIFycv5Y9hHkOxTZbL+UypUo/+9kIrK+RR7MXx2XX6G9LBUZpIadvGCrPBrbI1slXwl0aMJmkn+5UagUVRBD0JWAQ9GWiCluAPsV5/B7XaxRudo3ys2TTGC/iP0EfggPMf4IXM0qeAeMAAAAAASUVORK5CYII=);
    background-clip: padding-box;
    }
 </style>

 <script>
 function filterList() {
     // Get input value and convert to lowercase
     var input = document.getElementById("search-bar").value.toLowerCase();

     // Get all of the sections.
     var sections = document.getElementsByTagName("section")

     // Loop through the sections and check for h3s, which is the section type that contains the config values.
     for (var i = 0; i < sections.length; i++) {
     var section = sections[i];
     var h3Entries = section.getElementsByTagName("h3")
     // There is only 1 h3 in a section that contains a config value.
     if (h3Entries.length == 1) {
             // Now, check if the term matches the search input, and if so display the section. Otherwise, hide it.
         var h3text = h3Entries[0].textContent.toLowerCase();
         if (h3text.indexOf(input) > -1)
         section.style.display ="";
         else
         section.style.display = "none";
     }
     }
     }
   window.addEventListener('load', filterList);
 </script>

<a id="kafka-monitoring"></a>

# Monitor Kafka with JMX in Confluent Platform

Confluent Platform is a data-streaming platform that completes Kafka with advanced capabilities designed to help accelerate
application development and connectivity for enterprise use cases.

This topic describes the Java Management Extensions (JMX) and Managed Beans (MBeans) that are enabled by default for Kafka and Confluent Platform
to enable monitoring of your Kafka applications.

The next several sections describe how to configure JMX, verify that you have configured it correctly, and lists MBeans by Confluent Platform component.
Note that features that are not enabled in your deployment will not generate MBeans.

<!-- WARNING: THIS IS A SHARED FILE AND THE SOURCE IS LOCATED IN DOCS-COMMON. DO NOT ADD TO ANY OTHER REPO. -->

## Configure JMX

Before you can access these metrics, you must ensure JMX is properly configured for your environment. To configure JMX, view MBeans, and configure security, see [Configure JMX for Monitoring](configure-jmx.md#configure-jmx).

## Browse metrics by category

You can browse available JMX metrics by the following categories:

- [Broker and Controller Metrics](broker-metrics.md#broker-metrics)
- [Log and Network Metrics](log-network-metrics.md#log-network-metrics)
- [Group Coordinator Metrics](group-coordinator-metrics.md#group-coordinator-metrics)
- [Producer Metrics](producer-metrics.md#producer-metrics)
- [Consumer Metrics](consumer-metrics.md#consumer-metrics)
- [Share Consumer Metrics](share-consumer-metrics.md#share-consumer-metrics)
- [Security Metrics](security-metrics.md#security-metrics)

## Component-specific metrics

Find metrics for specific Confluent Platform and Kafka features in the following topics:

- [Cluster linking metrics](../multi-dc-deployments/cluster-linking/metrics.md#cluster-linking-metrics)
- [Connect metrics](../connect/monitoring.md#connect-monitoring-config-connectors)
- [Kafka Streams metrics](../streams/monitoring.md#streams-monitoring)

To monitor these metrics with Docker, see [Monitoring with Docker Deployments](../installation/docker/operations/monitoring.md#use-jmx-monitor-docker-deployments).

Find metrics for specific Confluent Platform and Kafka features in the following topics:

- [Cluster linking metrics](../multi-dc-deployments/cluster-linking/metrics.md#cluster-linking-metrics)
- [Connect metrics](../connect/monitoring.md#connect-monitoring-config-connectors)
- [Kafka Streams metrics](../streams/monitoring.md#streams-monitoring)

## Alternatives to JMX

Confluent offers some alternatives to using JMX monitoring.

- **Confluent Control Center**: Deploy [Control Center](/control-center/current/overview.html) for out-of-the-box Kafka
  cluster monitoring so you don’t have to build your own monitoring system.
- **Health+**: Monitor and manage your environment with [Monitor Confluent Platform with Health+](../health-plus/index.md#health-plus). Health+ ensures cluster health and
  minimizes disruption with intelligent alerts and proactive support based on best practices created by the inventors of Kafka.

## Related content

- [Configure JMX for Monitoring](configure-jmx.md#configure-jmx)
- [Broker and Controller Metrics](broker-metrics.md#broker-metrics)
- [Log and Network Metrics](log-network-metrics.md#log-network-metrics)
- [Group Coordinator Metrics](group-coordinator-metrics.md#group-coordinator-metrics)
- [Producer Metrics](producer-metrics.md#producer-metrics)
- [Consumer Metrics](consumer-metrics.md#consumer-metrics)
- [Security Metrics](security-metrics.md#security-metrics)
- [Cluster linking metrics](../multi-dc-deployments/cluster-linking/metrics.md#cluster-linking-metrics)
- [Connect metrics](../connect/monitoring.md#connect-monitoring-config-connectors)
- [Kafka Streams metrics](../streams/monitoring.md#streams-monitoring)
- [Monitor Kafka with Metrics Reporter in Confluent Platform](../monitor/metrics-reporter.md#metrics-reporter)
- [Monitor and Track Metrics in Docker with JMX in Confluent Platform](../installation/docker/operations/monitoring.md#use-jmx-monitor-docker-deployments)
- Confluent Support: [The top 5 Broker JMX metrics you should be watching](https://support.confluent.io/hc/en-us/articles/360039629271)
- Confluent Support: [Kafka Broker Performance Diagnostics](https://support.confluent.io/hc/en-us/articles/360001447266)
- Whitepaper: [Optimizing Your Apache Kafka Deployment](https://www.confluent.io/white-paper/optimizing-your-apache-kafka-deployment/)
- GitHub: [JMX monitoring stacks example](https://github.com/confluentinc/jmx-monitoring-stacks)
