Configure JMX ephemeral ports
Learn more aboutKafka JMX ephermal ports and how to configure them.
Kafka uses two high-numbered ephemeral ports for JMX. These ports are listed when you view
netstat -anp information for the Kafka broker process.
- You can change the number for the first port by adding a command similar to the following
to the field Additional Broker Java Options (
broker_java_opts) in Cloudera Manager.
- The JMX_PORT configuration maps to
To access JMX via JConsole, run
- The second ephemeral port used for JMX communication is implemented for the JRMP protocol and cannot be changed.