Skip to content

Commit

Permalink
Exposes JMX for brokers, to typical monitoring setups
Browse files Browse the repository at this point in the history
Already included in #49, but here we don't add any export container to the pod.

Can be utilized by kafka-manager (#83) - just tick the JMX box when adding a cluster -
to see bytes in/out rates.
  • Loading branch information
solsson committed Nov 9, 2017
1 parent 2257cd1 commit e2ae2bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kafka/50kafka.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2ae2bf

Please sign in to comment.