junrao commented on code in PR #14712:
URL: https://github.com/apache/kafka/pull/14712#discussion_r1387075522


##########
core/src/main/scala/kafka/server/KafkaRequestHandler.scala:
##########
@@ -54,23 +54,27 @@ object KafkaRequestHandler {
   }
 
   /**
-   * Wrap callback to schedule it on a request thread.
-   * NOTE: this function must be called on a request thread.
-   * @param fun Callback function to execute
-   * @return Wrapped callback that would execute `fun` on a request thread
+   * Creates a wrapped callback to be executed asynchronously on an arbitrary 
request thread.
+   * NOTE: this function must be originally called from a request thread.
+   * @param asyncCompletionCallback A callback method that we intend to call 
from the current thread or in another

Review Comment:
   Should we also adjust "A callback method that we intend to call from the 
current thread" ?



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