Description
We are using Kafka and Zookeeper in Docker swarm stacks. When we undeploy a stack, sometimes Kafka doesn't shutdown properly and is finally killed by Docker (thus leaving potentially corrupted files).
Here are the steps to reproduce (simple Docker, no swarm):
docker network create test docker run -d --network test --name zk --rm zookeeper:3.5.6 docker run --network test --name kf --rm -e "KAFKA_ZOOKEEPER_CONNECT=zk:2181" -e "KAFKA_ADVERTISED_LISTENERS=INSIDE://:9091" -e "KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=INSIDE:PLAINTEXT" -e "KAFKA_INTER_BROKER_LISTENER_NAME=INSIDE" confluentinc/cp-kafka:5.3.1
In another shell:
docker stop zk docker stop kf
Attachments
Issue Links
- links to