From bcda9771ce3c79d1b1730ac9b6f1468fe3b64a07 Mon Sep 17 00:00:00 2001 From: Sean Glover Date: Sat, 20 Nov 2021 14:23:29 -0500 Subject: [PATCH] Add authorizer-properties to sample ACL command (#275) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 38b0b33f..510c237e 100644 --- a/README.md +++ b/README.md @@ -395,10 +395,10 @@ Current ACLs for resource `Topic:LITERAL:*`: User:kafka-lag-exporter has Allow permission for operations: Describe from hosts: * ``` -This can be added using the following command: +This can be added using the following command (`authorizer-properties` depends on the Kafka installation): ``` -kafka-acls --add --allow-principal "User:kafka-lag-exporter" --operation DESCRIBE --group '*' --topic '*' --cluster +kafka-acls --authorizer-properties "zookeeper.connect=localhost:2181" --add --allow-principal "User:kafka-lag-exporter" --operation DESCRIBE --group '*' --topic '*' --cluster ``` ## Estimate Consumer Group Time Lag