jolshan commented on code in PR #12915:
URL: https://github.com/apache/kafka/pull/12915#discussion_r1035309932


##########
clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java:
##########
@@ -1290,7 +1290,7 @@ public void handleResponse(AbstractResponse response) {
             } else if (error == Errors.NOT_COORDINATOR || error == 
Errors.COORDINATOR_NOT_AVAILABLE) {
                 
lookupCoordinator(FindCoordinatorRequest.CoordinatorType.TRANSACTION, 
transactionalId);
                 reenqueue();
-            } else if (error == Errors.COORDINATOR_LOAD_IN_PROGRESS || error 
== Errors.CONCURRENT_TRANSACTIONS) {
+            } else if (error == Errors.COORDINATOR_LOAD_IN_PROGRESS || error 
== Errors.CONCURRENT_TRANSACTIONS || error == Errors.REQUEST_TIMED_OUT) {

Review Comment:
   I've updated the handlers. Please take a look. I tried to make sure that the 
errors I replaced in the line were all retriable and all the ones below were 
not, but it would be good to have a second pair of eyes check.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to