Thomas Graves created KAFKA-3110:
------------------------------------

             Summary: can't set cluster acl for a user to CREATE topics without 
first creating a topic
                 Key: KAFKA-3110
                 URL: https://issues.apache.org/jira/browse/KAFKA-3110
             Project: Kafka
          Issue Type: Bug
          Components: core
    Affects Versions: 0.9.0.0
            Reporter: Thomas Graves


I started a new kafka cluster with security.  I tried to give a user cluster 
CREATE permissions so they could create topics:
kafka-acls.sh --authorizer-properties zookeeper.connect=host.com:2181 --cluster 
--add --operation CREATE --allow-principal User:myuser

This failed with the error below and the broker ended up shutting down and 
wouldn't restart without removing the zookeeper data.

@400000005699398806bd170c org.I0Itec.zkclient.exception.ZkNoNodeException: 
org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode 
for /kafka-acl/Topic

To work around this you can first create any topic which creates the zookeeper 
node and then after that you can give the user create permissions.






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to