Chia-Ping Tsai created KAFKA-17152: -------------------------------------- Summary: 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
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)