Skip to content

Instantly share code, notes, and snippets.

@gherceg
Created June 6, 2022 19:12
Show Gist options
  • Save gherceg/1f0b7645cce6f1f8c53b9e57714d495e to your computer and use it in GitHub Desktop.
Save gherceg/1f0b7645cce6f1f8c53b9e57714d495e to your computer and use it in GitHub Desktop.

Upgrade to new versions of Kafka and Zookeeper in Docker

This upgrades Kafka from 2.6 to 3.2 and Zookeeper from 3.4 to 3.7.

Early Adopters

From your commcare-hq directory, run the following:

  1. git checkout gh/upgrade-kafka-container
  2. ./scripts/docker up -d kafka zookeeper

You should now be running the updated containers.

Troubleshooting

If for some reason your kafka container fails to start, try ./scripts/docker rm -sv kafka zookeeper followed by step 2 again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment