Support Questions

Find answers, ask questions, and share your expertise

Kafka topic - not able to see ACLs

avatar
Expert Contributor

hi, i'm trying to see the ACL's for kafka topic (using command line), but not able to do that ..

Pls see commandline details ->

[kafka1@sandbox ranger-kafka-plugin]$ $KAFKA_HOME/bin/kafka-acls.sh --list --topic kafka1_topic --authorizer-properties zookeeper.connect=sandbox.hortonworks.com:2181 Following is list of acls for resource: Topic:kafka1_topic

<shows nothing>

Any ideas ? Pls let me know.

1 ACCEPTED SOLUTION

avatar

@Karan Alang

Here is the correct command :

bin/kafka-acls.sh --authorizer kafka.security.auth.SimpleAclAuthorizer --authorizer-properties zookeeper.connect=<a href="http://sandbox.hortonworks.com/">sandbox.hortonworks.com</a>:2181 --list --topic kafka1_topic

ref: https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Authorization+Command+Line+Interface

View solution in original post

1 REPLY 1

avatar

@Karan Alang

Here is the correct command :

bin/kafka-acls.sh --authorizer kafka.security.auth.SimpleAclAuthorizer --authorizer-properties zookeeper.connect=<a href="http://sandbox.hortonworks.com/">sandbox.hortonworks.com</a>:2181 --list --topic kafka1_topic

ref: https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Authorization+Command+Line+Interface