You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ismael Juma (Jira)" <ji...@apache.org> on 2021/03/19 13:48:00 UTC

[jira] [Updated] (KAFKA-9189) Shutdown is blocked if connection to Zookeeper is lost

     [ https://issues.apache.org/jira/browse/KAFKA-9189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ismael Juma updated KAFKA-9189:
-------------------------------
    Fix Version/s: 3.0.0

> Shutdown is blocked if connection to Zookeeper is lost
> ------------------------------------------------------
>
>                 Key: KAFKA-9189
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9189
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 2.3.0
>         Environment: Linux, Docker 19.03.4
>            Reporter: Boris Granveaud
>            Assignee: Ismael Juma
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> 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):
>  
> {code:java}
> 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
> {code}
>  
> In another shell:
>  
> {code:java}
> docker stop zk
> docker stop kf
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)