[ https://issues.apache.org/jira/browse/KAFKA-5950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16179229#comment-16179229 ]
Ismael Juma commented on KAFKA-5950: ------------------------------------ An example is: https://github.com/apache/kafka/pull/3937/files#diff-bd579ca12eed2604969b153ee5bd8116R484 Although I am still thinking about the best way to present this so that it doesn't became too hard to follow. > 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)