Skip to content

Commit

Permalink
feat(quickstart): fix broker InconsistentClusterIdException issues (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored Oct 31, 2023
1 parent ea12732 commit b565a65
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 7 deletions.
6 changes: 5 additions & 1 deletion docker/docker-compose-with-cassandra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,10 @@ services:
retries: 5
timeout: 5s
volumes:
- zkdata:/var/lib/zookeeper
# See https://stackoverflow.com/a/61008432 for why we need two volumes.
# See also: https://docs.confluent.io/platform/current/installation/docker/operations/external-volumes.html#data-volumes-for-kafka-and-zk
- zkdata:/var/lib/zookeeper/data
- zklogs:/var/lib/zookeeper/log
networks:
default:
name: datahub_network
Expand All @@ -210,3 +213,4 @@ volumes:
neo4jdata:
broker:
zkdata:
zklogs:
6 changes: 5 additions & 1 deletion docker/docker-compose-without-neo4j.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,15 @@ services:
retries: 3
timeout: 5s
volumes:
- zkdata:/var/lib/zookeeper
# See https://stackoverflow.com/a/61008432 for why we need two volumes.
# See also: https://docs.confluent.io/platform/current/installation/docker/operations/external-volumes.html#data-volumes-for-kafka-and-zk
- zkdata:/var/lib/zookeeper/data
- zklogs:/var/lib/zookeeper/log
networks:
default:
name: datahub_network
volumes:
esdata:
broker:
zkdata:
zklogs:
6 changes: 5 additions & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,10 @@ services:
retries: 3
timeout: 5s
volumes:
- zkdata:/var/lib/zookeeper
# See https://stackoverflow.com/a/61008432 for why we need two volumes.
# See also: https://docs.confluent.io/platform/current/installation/docker/operations/external-volumes.html#data-volumes-for-kafka-and-zk
- zkdata:/var/lib/zookeeper/data
- zklogs:/var/lib/zookeeper/log
networks:
default:
name: datahub_network
Expand All @@ -204,3 +207,4 @@ volumes:
neo4jdata:
broker:
zkdata:
zklogs:
4 changes: 3 additions & 1 deletion docker/quickstart/docker-compose-m1.quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,13 @@ services:
ports:
- ${DATAHUB_MAPPED_ZK_PORT:-2181}:2181
volumes:
- zkdata:/var/lib/zookeeper
- zkdata:/var/lib/zookeeper/data
- zklogs:/var/lib/zookeeper/log
version: '3.9'
volumes:
broker: null
esdata: null
mysqldata: null
neo4jdata: null
zkdata: null
zklogs: null
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,12 @@ services:
ports:
- ${DATAHUB_MAPPED_ZK_PORT:-2181}:2181
volumes:
- zkdata:/var/lib/zookeeper
- zkdata:/var/lib/zookeeper/data
- zklogs:/var/lib/zookeeper/log
version: '3.9'
volumes:
broker: null
esdata: null
mysqldata: null
zkdata: null
zklogs: null
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,12 @@ services:
ports:
- ${DATAHUB_MAPPED_ZK_PORT:-2181}:2181
volumes:
- zkdata:/var/lib/zookeeper
- zkdata:/var/lib/zookeeper/data
- zklogs:/var/lib/zookeeper/log
version: '3.9'
volumes:
broker: null
esdata: null
mysqldata: null
zkdata: null
zklogs: null
4 changes: 3 additions & 1 deletion docker/quickstart/docker-compose.quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,13 @@ services:
ports:
- ${DATAHUB_MAPPED_ZK_PORT:-2181}:2181
volumes:
- zkdata:/var/lib/zookeeper
- zkdata:/var/lib/zookeeper/data
- zklogs:/var/lib/zookeeper/log
version: '3.9'
volumes:
broker: null
esdata: null
mysqldata: null
neo4jdata: null
zkdata: null
zklogs: null

0 comments on commit b565a65

Please sign in to comment.