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


##########
clients/src/main/java/org/apache/kafka/common/requests/TxnOffsetCommitResponse.java:
##########
@@ -47,6 +47,9 @@
  *   - {@link Errors#UNKNOWN_MEMBER_ID}
  *   - {@link Errors#FENCED_INSTANCE_ID}
  *   - {@link Errors#ILLEGAL_GENERATION}
+ *   - {@link Errors#INVALID_TXN_STATE}

Review Comment:
   I think we can make concurrent transactions retriable by converting it to 
coordinator loading before sending the response.
   
   As for the invalid exceptions, we can convert to one of the abortable errors 
like Unknown member ID. 
   
   In part 2, we can fix this to be better errors that the client can 
understand better.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to