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

Andrey Dyachkov commented on KAFKA-5950:
----------------------------------------

[~ijuma] am I right that we are talking about new admin client 
(org.apache.kafka.clients.admin.AdminClient)? I just wonder what exception to 
document there, since implemented methods except AdminClient.create() process 
exceptions in implementation without throwing them. Thank you

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