Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Commit

Permalink
Add authorizer-properties to sample ACL command (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
seglo authored Nov 20, 2021
1 parent 038302d commit bcda977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bcda977

Please sign in to comment.