https://kafka.apache.org/33/documentation.html#remote_jmx https://github.com/provectus/kafka-ui/blob/master/documentation/compose/kafka-ui.yaml export KAFKA_JMX_OPTS='\ -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=[ip설정] -Dcom.sun.management.jmxremote.rmi.port=[사용할포트jmx포트랑 동일]' export JMX_PORT=[사용할포트] 항목설명 https://devocean.sk.com/blog/techBoardDetail.do?ID=163980 Confluent (Confluent: Apache Kafka & Streaming Platform for the Enterprise) ```txt edit /etc/systemd/system/multi-user.target.wants/kafka.service in the "[service]" section add a line: Environment=JMX_PORT=9989 reload: systemctl daemon-reload restart: systemctl restart kafka enjoy the beans: echo 'beans' | java -jar jmxterm-1.0-alpha-4-uber.jar -l localhost:9989 -n 2>&1 ```