Enable Apache Kafka health monitoring

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • Set configurations in the Apache HTTP server application to enable the Agent Client Collector to perform Apache Kafka HTTP server monitoring.

    Antes de Iniciar

    • Enable Java Management Extensions (JMX) for Kafka metric collection by running the following command:
      Environment=”JMX_PORT=9999”
    • Role required: agent_client_collector_admin

    Procedimento

    1. Enable collecting Apache Kafka performance metrics using Java Management Extensions (JMX) by running the following command:
      JMX_PORT=9999 bin/kafka-server-start.sh config/server.properties
    2. Configure the admin server port by modifying the port number of the admin.serverPort property in the zookeeper.properties file.
      The default port is 8080.