* Siehe: https://github.com/confluentinc/examples/blob/
1f835b09cc482cbab2856367b24d905a34da08ab/multiregion/docker-compose.yml[Beispiel-Setup mit 3 Zookeeper-Nodes]
* Das Setup stammt aus dem https://docs.confluent.io/platform/current/multi-dc-deployments/multiregion.html[Multi-Region Bespiel] von Confluent
zookeeper-1:
image: confluentinc/cp-zookeeper:7.5.1
environment:
+ ZOOKEEPER_SERVER_ID: 1
ZOOKEEPER_CLIENT_PORT: 2181
+ ZOOKEEPER_SERVERS: zookeeper-1:2888:3888;zookeeper-2:2888:3888;zookeeper-3:2888:3888
ports:
- 2181:2181
volumes:
zookeeper-2:
image: confluentinc/cp-zookeeper:7.5.1
environment:
+ ZOOKEEPER_SERVER_ID: 2
ZOOKEEPER_CLIENT_PORT: 2181
+ ZOOKEEPER_SERVERS: zookeeper-1:2888:3888;zookeeper-2:2888:3888;zookeeper-3:2888:3888
ports:
- 2182:2181
volumes:
zookeeper-3:
image: confluentinc/cp-zookeeper:7.5.1
environment:
+ ZOOKEEPER_SERVER_ID: 3
ZOOKEEPER_CLIENT_PORT: 2181
+ ZOOKEEPER_SERVERS: zookeeper-1:2888:3888;zookeeper-2:2888:3888;zookeeper-3:2888:3888
ports:
- 2183:2181
volumes: