[ https://issues.apache.org/jira/browse/KAFKA-6789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16837620#comment-16837620 ]
Vahid Hashemian commented on KAFKA-6789: ---------------------------------------- Updated. > 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.1 > > > 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)