Chia-Ping Tsai created KAFKA-10014:
--------------------------------------

             Summary: 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


{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)

Reply via email to