We recently change the Docker images we use for Kafka and Zookeeper which has resulted in some developers having trouble with their development environment setup. The solution is to remove the Kafka and Zookeeper volumes and re-create them:
In case you are doing this on a production environment be aware that this will delete all Kafka and Zookeeper data.
-
Stop Kafka and Zookeeper containers
docker rm -f hqservice_kafka_1 docker rm -f hqservice_zookeeper_1
-
Delete the volumes
sudo rm -rf ~/.local/share/dockerhq/{kafka,zookeeper}
If you are using Docker Machine:
docker-machine ssh hq sudo rm -rf /mnt/sda1/var/lib/dockerhq/{kafka,zookeeper}
-
Re-create the containers
./scripts/docker up -d