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
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:
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