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

Ismael Juma commented on KAFKA-5950:
------------------------------------

It's fine to check if it's a RetriableException. That relies on error codes 
under the covers.

> AdminClient should retry based on returned error codes
> ------------------------------------------------------
>
>                 Key: KAFKA-5950
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5950
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Ismael Juma
>            Assignee: Andrey Dyachkov
>              Labels: needs-kip
>             Fix For: 1.1.0
>
>
> The AdminClient only retries if the request fails with a retriable error. If 
> a response is returned, then a retry is never attempted. This is inconsistent 
> with other clients that check the error codes in the response and retry for 
> each retriable error code.
> We should consider if it makes sense to adopt this behaviour in the 
> AdminClient so that users don't have to do it themselves.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to