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

Chia-Ping Tsai resolved KAFKA-17152.
------------------------------------
    Fix Version/s: 3.9.0
       Resolution: Fixed

> Make sure zk session tracker gets down when closing embedded zk
> ---------------------------------------------------------------
>
>                 Key: KAFKA-17152
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17152
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Chia-Ping Tsai
>            Assignee: TengYao Chi
>            Priority: Minor
>             Fix For: 3.9.0
>
>
> zk `SessionTrackerImpl`[0] exits the loop on background, and hence it can 
> keep alive for a while after zk shutdown. We should have a small waiting for 
> it when closing `EmbeddedZookeeper` [1]
> [0] 
> https://github.com/apache/zookeeper/blob/master/zookeeper-server/src/main/java/org/apache/zookeeper/server/SessionTrackerImpl.java#L158
> [1] 
> https://github.com/apache/kafka/blob/trunk/core/src/test/scala/unit/kafka/zk/EmbeddedZookeeper.scala#L53



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to