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


##########
clients/src/main/java/org/apache/kafka/clients/producer/internals/TransactionManager.java:
##########
@@ -1674,7 +1675,7 @@ boolean isEndTxn() {
         public void handleResponse(AbstractResponse response) {
             EndTxnResponse endTxnResponse = (EndTxnResponse) response;
             Errors error = endTxnResponse.error();
-
+            boolean isAbortApi = !builder.data.committed();

Review Comment:
   nit: maybe we can just call this `isAbort` or even have the conditional 
inline.



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