rameeshm opened a new pull request, #957:
URL: https://github.com/apache/ranger/pull/957
## What changes were proposed in this pull request?
Change is the implement the acls, createAcls and deleteAcls in Ranger Kafka
Authorizer.
## How was this patch tested?
Tested in Local VM for
```
bash /opt/kafka/bin/kafka-acls.sh --bootstrap-server $BOOTSTRAP_SERVERS
--command-config /tmp/client.conf --list --principal User:kafka
bash kafka-console-producer.sh --broker-list $BOOTSTRAP_SERVERS
--producer.config /tmp/client.conf --topic test-topic1
bash kafka-topics.sh --create --topic test-topic1 --bootstrap-server
$BOOTSTRAP_SERVERS --command-config /tmp/client.conf --partitions 3
--replication-factor 1
bash /opt/kafka/bin/kafka-acls.sh \
--bootstrap-server "$BOOTSTRAP_SERVERS" \
--command-config /tmp/client.conf \
--add \
--allow-principal User:hbase \
--operation Read \
--operation Write \
--topic my_topic
bash /opt/kafka/bin/kafka-acls.sh \
--bootstrap-server "$BOOTSTRAP_SERVERS" \
--command-config /tmp/client.conf \
--add \
--allow-principal User:hive \
--operation Read \
--group my_group
bash /opt/kafka/bin/kafka-acls.sh \
--bootstrap-server "$BOOTSTRAP_SERVERS" \
--command-config /tmp/client.conf \
--remove \
--allow-principal User:hbase \
--operation Read \
--operation Write \
--topic my_topic
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]