You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Dong Lin (JIRA)" <ji...@apache.org> on 2018/10/02 14:45:00 UTC

[jira] [Commented] (KAFKA-6276) AdminClient may leave some futures hanging after shutdown

    [ https://issues.apache.org/jira/browse/KAFKA-6276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16635596#comment-16635596 ] 

Dong Lin commented on KAFKA-6276:
---------------------------------

Moving this to 2.2.0 since PR is not ready yet.

> 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
>            Priority: Major
>             Fix For: 2.2.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
(v7.6.3#76005)