You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "TengYao Chi (Jira)" <ji...@apache.org> on 2024/07/16 23:45:00 UTC

[jira] [Commented] (KAFKA-17152) Make sure zk session tracker gets down when closing embedded zk

    [ https://issues.apache.org/jira/browse/KAFKA-17152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17866556#comment-17866556 ] 

TengYao Chi commented on KAFKA-17152:
-------------------------------------

Hi [~chia7712] 

If you are not start working on this issue, I would like to have it😃

> 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: Chia-Ping Tsai
>            Priority: Minor
>
> 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)