Jason Gustafson created KAFKA-6276:
--------------------------------------

             Summary: AdminClient may leave some futures hanging after shutdown
                 Key: KAFKA-6276
                 URL: https://issues.apache.org/jira/browse/KAFKA-6276
             Project: Kafka
          Issue Type: Bug
          Components: admin
            Reporter: Jason Gustafson
            Assignee: Colin P. McCabe
             Fix For: 1.1.0


When the admin client closes, it should ensure that any pending futures get 
cancelled. For the most part it does so, but from glancing at the code, it 
seems possible that some calls which haven't been sent may be left hanging 
after shutdown. In particular, this collection is not cleaned on shutdown: 
https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java#L961.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to