Open
Description
Issue submitter TODO list
- I've looked up my issue in FAQ
- I've searched for an already existing issues here
- I've tried running
master
-labeled docker image and the issue still persists there - I'm running a supported version of the application which is listed here
Describe the bug (actual behavior)
The services.kafka1.environment.KAFKA_JMX_OPTS property is incorrect in the kafka-ui.yaml config file.
The property -Djava.rmi.server.hostname=kafka0 conflicts with the configuration of kafka0, which uses the same hostname.
services.kafka1.environment.KAFKA_JMX_OPTS
KAFKA_JMX_OPTS: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=kafka0 -Dcom.sun.management.jmxremote.rmi.port=9998
services.kafka0.environment.KAFKA_JMX_OPTS
KAFKA_JMX_OPTS: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=kafka0 -Dcom.sun.management.jmxremote.rmi.port=9997
This makes it impossible to connect to kafka0
Expected behavior
The property services.kafka1.environment.KAFKA_JMX_OPTS should be changed -Djava.rmi.server.hostname=kafka1.
KAFKA_JMX_OPTS: -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=kafka1 -Dcom.sun.management.jmxremote.rmi.port=9998
This will allow you to connect.
Your installation details
- 83b5a60
- n/a
- https://github.com/provectus/kafka-ui/blob/master/documentation/compose/kafka-ui.yaml
- n/a
Steps to reproduce
- Start kafka-ui.yaml with the podman compose command
- Go to http://localhost:8080/ui/clusters/local/config
- Validate the config
- Connection will fail
Screenshots
No response
Logs
No response
Additional context
No response