From bcf2afab1d3373e75011c4cea740bc8b5a419a8a Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sat, 18 Feb 2023 16:09:14 +0100 Subject: [PATCH] WIP --- docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 5622ba8..ed044a8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -32,6 +32,7 @@ services: KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 3 KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false" + JMX_PORT: 9093 ports: - 9081:9081 depends_on: @@ -53,6 +54,7 @@ services: KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 3 KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false" + JMX_PORT: 9093 ports: - 9092:9082 - 9082:9082 @@ -79,8 +81,14 @@ services: KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 3 KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false" + JMX_PORT: 9093 ports: - 9083:9083 depends_on: - kafka-0 + exporter: + image: danielqsj/kafka-exporter:v1.6.0 + command: --kafka.server kafka:9092 + ports: + - 9308:9308 -- 2.20.1