cadonna commented on code in PR #14879:
URL: https://github.com/apache/kafka/pull/14879#discussion_r1413694237


##########
clients/src/main/java/org/apache/kafka/clients/consumer/internals/events/BackgroundEventHandler.java:
##########
@@ -49,4 +49,9 @@ public void add(BackgroundEvent event) {
         log.trace("Enqueued event: {}", event);
         backgroundEventQueue.add(event);
     }
+
+    // Visible for testing
+    public Queue<BackgroundEvent> backgroundEventQueue() {
+        return backgroundEventQueue;
+    }

Review Comment:
   OK, was able to get rid of that abominable piece of code.



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