[ https://issues.apache.org/jira/browse/KAFKA-3549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237807#comment-15237807 ]
Grant Henke commented on KAFKA-3549: ------------------------------------ [~ijuma] This patch tries to clean up a lot of them, but I am sure there are some leaks remaining. It would be nice if there were a generic way to automatically detect any closable resource that is still open. > Close consumers instantiated in consumer tests > ---------------------------------------------- > > Key: KAFKA-3549 > URL: https://issues.apache.org/jira/browse/KAFKA-3549 > Project: Kafka > Issue Type: Improvement > Reporter: Grant Henke > Assignee: Grant Henke > > Close consumers instantiated in consumer tests. Since these consumers often > use the default group.id of "", they could cause transient failures like > those seen in KAFKA-3117 and KAFKA-2933. I have not been able to prove that > this change will fix those failures, but closing the consumers is a good > practice regardless. -- This message was sent by Atlassian JIRA (v6.3.4#6332)