chia7712 commented on a change in pull request #8657:
URL: https://github.com/apache/kafka/pull/8657#discussion_r479689694



##########
File path: core/src/main/scala/kafka/server/ActionQueue.scala
##########
@@ -37,7 +37,10 @@ class ActionQueue {
    * picks up an action to complete.
    */
   def tryCompleteAction(): Unit = {
-    val action = queue.poll()
-    if (action != null) action()
+    var action = queue.poll()
+    while (action != null) {
+      action()

Review comment:
       I prefer to just catch it and log a warning as the response has been 
processed. WDYT?




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to