omkreddy commented on code in PR #12359:
URL: https://github.com/apache/kafka/pull/12359#discussion_r915675978


##########
core/src/main/scala/kafka/security/authorizer/AclAuthorizer.scala:
##########
@@ -209,6 +213,9 @@ class AclAuthorizer extends Authorizer with Logging {
           throw new UnsupportedVersionException(s"Adding ACLs on prefixed 
resource patterns requires " +
             s"${KafkaConfig.InterBrokerProtocolVersionProp} of $IBP_2_0_IV1 or 
greater")
         }
+        if (inValidAclBindingResourceName(aclBinding.pattern().name())) {

Review Comment:
   Can we this to `validateAclBinding` method?



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