You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2018/04/13 04:58:00 UTC

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

Guozhang Wang created KAFKA-6789:
------------------------------------

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


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)