[
https://issues.apache.org/jira/browse/KAFKA-4369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15630582#comment-15630582
]
Andy Chambers commented on KAFKA-4369:
--------------------------------------
I found this while developing a test fixture that starts up a KafkaStreams
instance, runs a test, then stops the stream.
I'd like to have a shot at fixing it unless you have plans to get it done
within the next couple of weeks. If that is cool, I'll make a start this
weekend. Thanks to Ryan for pinpointing the exact source of the problem. At
least I can quite easily re-produce the problem :-)
> ZkClient is not closed upon streams shutdown
> --------------------------------------------
>
> Key: KAFKA-4369
> URL: https://issues.apache.org/jira/browse/KAFKA-4369
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Reporter: Ryan P
> Assignee: Guozhang Wang
>
> Kafka Stream's InternalTopicManager creates a new ZkClient but fails to close
> it as part of it's shutdown.
> https://github.com/confluentinc/kafka/blob/v3.0.1/streams/src/main/java/org/apache/kafka/streams/processor/internals/InternalTopicManager.java#L93
> This is likely only an issue when performing testing/debugging where the
> streams application is shutdown but the JVM remains in tact.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)