title: Enable JMX port for monitoring kafka
body: <p>Using reference to <a href="https://docs.microfocus.com/itom/MP_for_Apache_Kafka:1.10/Kafka/Kafka_JMX" rel="nofollow noreferrer">https://docs.microfocus.com/itom/MP_for_Apache_Kafka:1.10/Kafka/Kafka_JMX</a>,
  I created the jmx_local.config and modified the Kafka start up script)</p>
  <p>The Kafka start up script picks the jmx_local.coonfig but the port is not getting exposed.
  This is what I see on grepping the java process:</p>
  <pre><code>&quot;/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.config.file=/usr/local/etc/kafka/jmx_local.conf kafka.Kafka /usr/local/etc/kafka/server.properties&quot;
  
  cat /usr/local/etc/kafka/jmx_local.conf
  Dcom.sun.management.jmxremote.port=9395
  Dcom.sun.management.jmxremote.authenticate=false
  Dcom.sun.management.jmxremote.ssl=false
  </code></pre>
  <p>Also tried with port 10167 but the port is not enabled. Also modified as 'com.sun.management.jmxremote.port=9395'
  I could see the other jmx properties.</p>
  <p>Any suggestion please</p>