build: zookeeper
environment:
ALLOW_ANONYMOUS_LOGIN: 'yes'
+ volumes:
+ - zookeeper:/bitnami/zookeeper
kafka-1:
build: kafka
KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER
KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false"
+ volumes:
+ - kafka-1:/bitnami/kafka
ports:
- 9081:9081
depends_on:
KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER
KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false"
+ volumes:
+ - kafka-2:/bitnami/kafka
ports:
- 9092:9082
- 9082:9082
KAFKA_CFG_INTER_BROKER_LISTENER_NAME: BROKER
KAFKA_CFG_OFFSETS_TOPIC_REPLICATION_FACTOR: 3
KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE: "false"
+ volumes:
+ - kafka-3:/bitnami/kafka
ports:
- 9083:9083
depends_on:
volumes:
+ zookeeper:
+ kafka-1:
+ kafka-2:
+ kafka-3:
grafana: