You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2017/11/27 22:24:00 UTC
[jira] [Created] (KAFKA-6276) AdminClient may leave some futures
hanging after shutdown
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)