Use "*"

בתאריך יום ג׳, 13 ביולי 2021, 15:40, מאת Dhirendra Singh ‏<
dhirendr...@gmail.com>:

> Hi All,
> I am trying to add an acl for a user to have read permission on all topics.
> I executed the following command.
>
> kafka-acls.sh --bootstrap-server kafka-dev:9092 --command-config
> client.properties --add --allow-principal User:kafka-consumer --operation
> read --topic *
>
> The output i got from the above command is...
>
> Adding ACLs for resource `ResourcePattern(resourceType=TOPIC,
> name=client.properties, patternType=LITERAL)`:
>         (principal=User:kafka-consumer, host=*, operation=READ,
> permissionType=ALLOW)
>
> From the output it seems instead of allowing permission on all topic it is
> allowing on topic "client.properties" which is the name of the config file
> passed to the command. It is not a topic which exist in kafka.
>
> How to fix this issue ?
> My kafka version is 2.5.0
>

Reply via email to