Setup für Grundlagen-Übungen vereinfacht
authorKai Moritz <kai@juplo.de>
Wed, 1 Nov 2023 10:52:12 +0000 (11:52 +0100)
committerKai Moritz <kai@juplo.de>
Wed, 1 Nov 2023 10:52:12 +0000 (11:52 +0100)
docker/docker-compose.yml

index 7932a28..42ca520 100644 (file)
@@ -21,17 +21,10 @@ services:
       KAFKA_INTER_BROKER_LISTENER_NAME: BROKER
       KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
       KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
-      KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.authorizer.AclAuthorizer
-      KAFKA_ALLOW_EVERYONE_IF_NO_ACL_FOUND: "true"
-      KAFKA_OPTS:
-        -Dcom.sun.management.jmxremote=true
-        -Dcom.sun.management.jmxremote.port=9101
-        -Dcom.sun.management.jmxremote.authenticate=false
     volumes:
       - kafka-1-data:/var/lib/kafka/data
     ports:
       - 9081:9081
-      - 9101:9101
     stop_grace_period: 120s
     depends_on:
       - zookeeper
@@ -47,18 +40,11 @@ services:
       KAFKA_INTER_BROKER_LISTENER_NAME: BROKER
       KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
       KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
-      KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.authorizer.AclAuthorizer
-      KAFKA_ALLOW_EVERYONE_IF_NO_ACL_FOUND: "true"
-      KAFKA_OPTS:
-        -Dcom.sun.management.jmxremote=true
-        -Dcom.sun.management.jmxremote.port=9102
-        -Dcom.sun.management.jmxremote.authenticate=false
     volumes:
       - kafka-2-data:/var/lib/kafka/data
     ports:
       - 9092:9082
       - 9082:9082
-      - 9102:9102
     networks:
       default:
         aliases:
@@ -78,17 +64,10 @@ services:
       KAFKA_INTER_BROKER_LISTENER_NAME: BROKER
       KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
       KAFKA_AUTO_CREATE_TOPICS_ENABLE: "false"
-      KAFKA_AUTHORIZER_CLASS_NAME: kafka.security.authorizer.AclAuthorizer
-      KAFKA_ALLOW_EVERYONE_IF_NO_ACL_FOUND: "true"
-      KAFKA_OPTS:
-        -Dcom.sun.management.jmxremote=true
-        -Dcom.sun.management.jmxremote.port=9103
-        -Dcom.sun.management.jmxremote.authenticate=false
     volumes:
       - kafka-3-data:/var/lib/kafka/data
     ports:
       - 9083:9083
-      - 9103:9103
     stop_grace_period: 120s
     depends_on:
       - zookeeper