Hi, I would like to enable AclAuthorizer on a KRaft cluster but I receive this error:
ERROR [ControllerServer id=2] Fatal error during controller startup. Prepare to shutdown (kafka.server.ControllerServer)
java.lang.NullPointerException
at kafka.zk.KafkaZkClient$.apply(KafkaZkClient.scala:1965)
at kafka.security.authorizer.AclAuthorizer.configure(AclAuthorizer.scala:182)
at kafka.server.ControllerServer.$anonfun$startup$11(ControllerServer.scala:118)
at kafka.server.ControllerServer.$anonfun$startup$11$adapted(ControllerServer.scala:118)
at scala.Option.foreach(Option.scala:437)
at kafka.server.ControllerServer.startup(ControllerServer.scala:118)
at kafka.server.KafkaRaftServer.$anonfun$startup$1(KafkaRaftServer.scala:109)
at kafka.server.KafkaRaftServer.$anonfun$startup$1$adapted(KafkaRaftServer.scala:109)
at scala.Option.foreach(Option.scala:437)
at kafka.server.KafkaRaftServer.startup(KafkaRaftServer.scala:109)
at kafka.Kafka$.main(Kafka.scala:109)
at kafka.Kafka.main(Kafka.scala)6b3
It seems I need to specify a zookeeper url but I do not have it as I’m using KRaft.
How should I configure the AclAuthorizer in this situation?