Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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