Dear Team,

Has anyone experienced this issue as I am also experiencing the similar
issue with 3 node clusters in isolated mode, even though the
StandardAuthorizer is enabled its still giving this error.

appuser@kafka01 secrets]$ kafka-acls --bootstrap-server
broker01.abc.net:9094 --command-config rw-sa.properties --add
--allow-principal User:rw-sa --operation Read --operation Write --topic '*'
Adding ACLs for resource `ResourcePattern(resourceType=TOPIC, name=*,
patternType=LITERAL)`:
        (principal=User:rw-sa, host=*, operation=WRITE,
permissionType=ALLOW)
        (principal=User:rw-sa, host=*, operation=READ, permissionType=ALLOW)

Error while executing ACL command:
org.apache.kafka.common.errors.SecurityDisabledException: No Authorizer is
configured.
java.util.concurrent.ExecutionException:
org.apache.kafka.common.errors.SecurityDisabledException: No Authorizer is
configured.
        at
java.base/java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:396)
        at
java.base/java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2073)
        at
org.apache.kafka.common.internals.KafkaFutureImpl.get(KafkaFutureImpl.java:165)
        at
kafka.admin.AclCommand$AdminClientService.$anonfun$addAcls$3(AclCommand.scala:115)
        at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:576)
        at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:574)
        at scala.collection.AbstractIterable.foreach(Iterable.scala:933)
        at
scala.collection.IterableOps$WithFilter.foreach(Iterable.scala:903)
        at
kafka.admin.AclCommand$AdminClientService.$anonfun$addAcls$1(AclCommand.scala:112)
        at
kafka.admin.AclCommand$AdminClientService.addAcls(AclCommand.scala:111)
        at kafka.admin.AclCommand$.main(AclCommand.scala:73)
        at kafka.admin.AclCommand.main(AclCommand.scala)
Caused by: org.apache.kafka.common.errors.SecurityDisabledException: No
Authorizer is configured.

However listing ACL shows okay without any errors.
[appuser@kafka01 secrets]$ kafka-acls --bootstrap-server
broker01.abc.net:9094 --command-config adminclient.properties --list
There is a similar issue but I couldn't understand the resolution Fix.
https://lists.apache.org/thread/tx4s71ycm23h9n8z3o8pfwfd45d5jrfw

Reply via email to