You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "jianbin.chen (Jira)" <ji...@apache.org> on 2022/12/01 01:45:00 UTC

[jira] [Created] (KAFKA-14430) optimize: -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT

jianbin.chen created KAFKA-14430:
------------------------------------

             Summary: optimize: -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT
                 Key: KAFKA-14430
                 URL: https://issues.apache.org/jira/browse/KAFKA-14430
             Project: Kafka
          Issue Type: Improvement
            Reporter: jianbin.chen


In case the server has a firewall, exposing only 'com.sun.management.jmxremote.port' cannot fetch metrics, and when the rmi port is not specified, it is randomly generated by default, 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]

_Summary of testing strategy (including rationale)_
_for the feature or bug fix. Unit and/or integration_
_tests are expected for any behaviour change and_
_system tests should be considered for larger changes._

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)