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


##########
clients/src/main/java/org/apache/kafka/clients/admin/internals/FenceProducersHandler.java:
##########
@@ -101,7 +101,8 @@ public ApiResult<CoordinatorKey, ProducerIdAndEpoch> 
handleSingleResponse(
         InitProducerIdResponse response = (InitProducerIdResponse) 
abstractResponse;
 
         Errors error = Errors.forCode(response.data().errorCode());
-        if (error != Errors.NONE) {
+        // Concurrent Transaction is still a success for fencing old producers

Review Comment:
   nit: when you say old producers here, you just mean the fenced producer?



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