Skip to content

RANGER-3939:Implement acls, createAcls and deleteAcls in Kafka Authorizer#957

Open
rameeshm wants to merge 1 commit into
masterfrom
RANGER-3939-patch
Open

RANGER-3939:Implement acls, createAcls and deleteAcls in Kafka Authorizer#957
rameeshm wants to merge 1 commit into
masterfrom
RANGER-3939-patch

Conversation

@rameeshm
Copy link
Copy Markdown
Contributor

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


…izer

Signed-off-by: Ramesh Mani <rmani@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant