[ 
https://issues.apache.org/jira/browse/KAFKA-8658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16884810#comment-16884810
 ] 

Richard Yu commented on KAFKA-8658:
-----------------------------------

Alright, so here is the PR for this issue.

[https://github.com/apache/kafka/pull/7088]

> 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
>            Priority: Minor
>
> 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)

Reply via email to