You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2019/05/09 23:04:00 UTC

[jira] [Resolved] (KAFKA-6789) Add retry logic in AdminClient requests

     [ https://issues.apache.org/jira/browse/KAFKA-6789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Gustafson resolved KAFKA-6789.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.2
                   2.1.2
                   2.0.2

> Add retry logic in AdminClient requests
> ---------------------------------------
>
>                 Key: KAFKA-6789
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6789
>             Project: Kafka
>          Issue Type: Improvement
>          Components: admin
>            Reporter: Guozhang Wang
>            Assignee: Manikumar
>            Priority: Major
>             Fix For: 2.0.2, 2.1.2, 2.2.2
>
>
> In KafkaAdminClient, today we treat all error codes as fatal and set the exception accordingly in the returned futures. But for some error codes they can be retried internally, for example, COORDINATOR_LOADING_IN_PROGRESS. We could consider adding the retry logic internally in the admin client so that users would not need to retry themselves.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)