mimaison commented on code in PR #19050:
URL: https://github.com/apache/kafka/pull/19050#discussion_r2030836809


##########
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/GroupCoordinatorShard.java:
##########
@@ -250,7 +251,7 @@ public GroupCoordinatorShard build() {
                 throw new IllegalArgumentException("TopicPartition must be 
set.");
             if (groupConfigManager == null)
                 throw new IllegalArgumentException("GroupConfigManager must be 
set.");
-            if (authorizer == null)
+            if (authorizerPlugin == null)

Review Comment:
   It's fine to pass `Optional.empty()` down the call stack.



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