Agostino Sarubbo created KAFKA-8658:
---------------------------------------
Summary: A way to configure the jmx rmi port
Key: KAFKA-8658
URL: https://issues.apache.org/jira/browse/KAFKA-8658
Project: Kafka
Issue Type: Improvement
Components: metrics
Affects Versions: 1.0.0
Environment: Centos 7
Reporter: Agostino Sarubbo
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=
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)