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

optimize: -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.4.0, 3.3.2
    • None
    • None

    Description

      In case the server has a firewall or is run inside a container, exposing only 'com.sun.management.jmxremote.port' cannot fetch metrics, and when the RMI port is not specified, it is randomly generated by default. We should make the two ports consistent for metrics data reading.

      https://bugs.openjdk.org/browse/JDK-8035404?page=com.atlassian.jira.plugin.system.issuetabpanels%3Achangehistory-tabpanel
      https://www.baeldung.com/jmx-ports

       

      Attachments

        Issue Links

          Activity

            People

              funkye jianbin.chen
              funkye jianbin.chen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: