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

PoAn Yang commented on KAFKA-17189:
-----------------------------------

Hi [~chia7712], thanks for the good idea. I will try to refactor executor 
service in `KafkaClusterTestKit`.

> Add Thread::isAlive to DetectThreadLeak#of filter
> -------------------------------------------------
>
>                 Key: KAFKA-17189
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17189
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: PoAn Yang
>            Assignee: PoAn Yang
>            Priority: Minor
>
> Although we have KAFKA-17159 to close kafka-cluster-test-kit-executor, we 
> still have many thread leak when removing `waitForCondition` [0].
>  
> Adding log to show whether thread is alive when showing "Thread leak 
> detected" message, I found that detected thread is not alive. We may need to 
> consider adding `Thread::isAlive` to `DetectThreadLeak#of` filter.
>  
> [0] 
> [https://ci-builds.apache.org/job/Kafka/job/kafka-pr/job/PR-16661/1/testReport/]
>  



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

Reply via email to