From 79737b4c188349f003c99a0ed4ea3d18dbe67b8f Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 6 Oct 2023 19:42:26 +0200 Subject: [PATCH] =?utf8?q?Metriken=20sind=20=C3=BCber=20JMX=20remote=20abr?= =?utf8?q?ufbar?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- docker/docker-compose.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index c3d06ca..fa48234 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -20,6 +20,10 @@ services: KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 3 KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false" + KAFKA_OPTS: + -Dcom.sun.management.jmxremote=true + -Dcom.sun.management.jmxremote.port=9101 + -Dcom.sun.management.jmxremote.authenticate=false volumes: - kafka-1:/bitnami/kafka ports: @@ -38,6 +42,10 @@ services: KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 3 KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false" + KAFKA_OPTS: + -Dcom.sun.management.jmxremote=true + -Dcom.sun.management.jmxremote.port=9101 + -Dcom.sun.management.jmxremote.authenticate=false volumes: - kafka-2:/bitnami/kafka ports: @@ -61,6 +69,10 @@ services: KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 3 KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false" + KAFKA_OPTS: + -Dcom.sun.management.jmxremote=true + -Dcom.sun.management.jmxremote.port=9101 + -Dcom.sun.management.jmxremote.authenticate=false volumes: - kafka-3:/bitnami/kafka ports: @@ -153,7 +165,6 @@ services: connect: - name: "connect" url: "http://connect:8083" - depends_on: - kafka-1 - kafka-2 -- 2.20.1