Flavio Junqueira created KAFKA-3305:
---------------------------------------

             Summary: JMX in AWS instance
                 Key: KAFKA-3305
                 URL: https://issues.apache.org/jira/browse/KAFKA-3305
             Project: Kafka
          Issue Type: Improvement
         Environment: AWS
            Reporter: Flavio Junqueira


While connecting JConsole to a broker running on AWS, I've needed to set the 
following properties to get it to work:

{noformat}
-Djava.net.preferIPv4Stack=true 
-Djava.rmi.server.hostname=xxx.compute.amazonaws.com 
-Dcom.sun.management.jmxremote.rmi.port=9996
{noformat}

in addition to setting the JMX_PORT variable. I suggest we at least document 
these options and possibly have them in {{kafka-run-class.sh}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to