chia7712 commented on code in PR #19626:
URL: https://github.com/apache/kafka/pull/19626#discussion_r2072321157


##########
clients/src/main/java/org/apache/kafka/clients/admin/KafkaAdminClient.java:
##########
@@ -4487,7 +4487,7 @@ public void handleResponse(AbstractResponse 
abstractResponse) {
                  * Be sure to do this after the NOT_CONTROLLER error check 
above
                  * so that all errors are consistent in that case.
                  */
-                
userIllegalAlterationExceptions.entrySet().stream().forEach(entry ->
+                userIllegalAlterationExceptions.entrySet().forEach(entry ->

Review Comment:
   Maybe we can leverage `Map#forEach`?
   ```java
   userIllegalAlterationExceptions.forEach((key, value) -> 
futures.get(key).completeExceptionally(value));
   ```



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