Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8658

A way to configure the jmx rmi port

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.0.0
    • None
    • metrics
    • None
    • Centos 7

    Description

      Hello,

      I'm on kafka-1.0.0 so I'm not sure if it is fixed in the current version.

      Atm we are using the following in the service script to use JMX:
      Environment=JMX_PORT=7666

      However there is no way to set the jmx_rmi_port. When there is no specification for jmx_rmi_port the jvm assigns a random port. This complicates the way we manage the firewall.

      Would be great if there is a way to set the jmx_rmi_port in the same way, e.g.:
      Environment=JMX_RMI_PORT=7667

      The variable used during the jvm start is: -Dcom.sun.management.jmxremote.rmi.port=

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ago Agostino Sarubbo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: