Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-14341

Kafka 3.3 w/KRaft - Faiiled to bootstrap Kafka server with ACL - authorizer.class.name=kafka.security.authorizer.AclAuthorizer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.3.1
    • None
    • security
    • None

    Description

      server.properties

       

      listeners=PLAINTEXT://:9092,CONTROLLER://:9093
      inter.broker.listener.name=PLAINTEXT
      advertised.listeners=PLAINTEXT://_kafka:9092
      controller.listener.names=CONTROLLER
      listener.security.protocol.map=CONTROLLER:PLAINTEXT,PLAINTEXT:PLAINTEXT,SSL:SSL,SASL_PLAINTEXT:SASL_PLAINTEXT,SASL_SSL:SASL_SSL
      
      authorizer.class.name=kafka.security.authorizer.AclAuthorizer 

      Crash during startup...

      java.lang.NullPointerException: Cannot invoke "String.indexOf(String)" because "connectString" is null                           
              at kafka.zk.KafkaZkClient$.apply(KafkaZkClient.scala:1964)                    at kafka.security.authorizer.AclAuthorizer.configure(AclAuthorizer.scala:184)              at kafka.server.ControllerServer.$anonfun$startup$11(ControllerServer.scala:135)          at kafka.server.ControllerServer.$anonfun$startup$11$adapted(ControllerServer.scala:135)                         
              at scala.Option.foreach(Option.scala:437)                                      at kafka.server.ControllerServer.startup(ControllerServer.scala:135)           at kafka.server.KafkaRaftServer.$anonfun$startup$1(KafkaRaftServer.scala:140)             at kafka.server.KafkaRaftServer.$anonfun$startup$1$adapted(KafkaRaftServer.scala:140)                 
              at scala.Option.foreach(Option.scala:437)                                       at kafka.server.KafkaRaftServer.startup(KafkaRaftServer.scala:140)             at kafka.Kafka$.main(Kafka.scala:109)                                          at kafka.Kafka.main(Kafka.scala)   

      I am not using zookeeper at all.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            tamama@tamama.io Tama MA
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: