[ https://issues.apache.org/jira/browse/KAFKA-10014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jason Gustafson resolved KAFKA-10014. ------------------------------------- Resolution: Fixed > Always try to close all channels in Selector#close > -------------------------------------------------- > > Key: KAFKA-10014 > URL: https://issues.apache.org/jira/browse/KAFKA-10014 > Project: Kafka > Issue Type: Bug > Reporter: Chia-Ping Tsai > Assignee: Chia-Ping Tsai > Priority: Minor > > {code:java} > public void close() { > List<String> connections = new ArrayList<>(channels.keySet()); > try { > for (String id : connections) > close(id); // this line > } finally { > {code} > KafkaChannel has a lot of releasable objects so we ought to try to close all > channels. -- This message was sent by Atlassian Jira (v8.3.4#803005)