diff --git a/kafka/50kafka.yml b/kafka/50kafka.yml index dff4a79f..60a55318 100644 --- a/kafka/50kafka.yml +++ b/kafka/50kafka.yml @@ -43,11 +43,15 @@ spec: env: - name: KAFKA_LOG4J_OPTS value: -Dlog4j.configuration=file:/etc/kafka/log4j.properties + - name: JMX_PORT + value: "5555" ports: - name: inside containerPort: 9092 - name: outside containerPort: 9094 + - name: jmx + containerPort: 5555 command: - ./bin/kafka-server-start.sh - /etc/kafka/server.properties