OmniaGM commented on code in PR #14790:
URL: https://github.com/apache/kafka/pull/14790#discussion_r1399558750


##########
core/src/main/java/kafka/server/AssignmentsManager.java:
##########
@@ -146,6 +153,9 @@ public void run() throws Exception {
                 log.debug("Received new assignment {}", this);
             }
             pending.put(partition, this);
+            if (callback != null) {
+                callback.accept(DirectoryEventRequestState.QUEUED);
+            }

Review Comment:
   We need to mark the request has been sent to we don't send it again and just 
wait on the state to be `COMPLETED`



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