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


##########
core/src/main/scala/kafka/coordinator/group/GroupCoordinator.scala:
##########
@@ -935,8 +935,9 @@ private[group] class GroupCoordinator(
           producerId,
           producerEpoch,
           RecordBatch.NO_SEQUENCE,
-          requestLocal,
-          postVerificationCallback
+          // Wrap the callback to be handled on an arbitrary request handler 
thread
+          // when transaction verification is complete.
+          KafkaRequestHandler.wrapAsyncCallback(postVerificationCallback, 
requestLocal)

Review Comment:
   Why are we calling this here? I thought we wanted to avoid this wrap here 
and only do it for produce requests.



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