[ 
https://issues.apache.org/jira/browse/KAFKA-5713?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alla Tumarkin updated KAFKA-5713:
---------------------------------
    Description: 
Request
Implement additional functionality for various kafka-acls options to be able to 
take string/wildcard combinations, e.g.:
{code}
bin/kafka-acls --authorizer-properties zookeeper.connect=localhost:2181 --add 
--allow-principal 
"User:CN=Unknown,OU=Unknown,O=Unknown,L=Unknown,ST=Unknown,C=Unknown" 
--consumer --topic test --group console-consumer-*
bin/kafka-acls --add --allow-principal user:bob --allow-principal user:alice 
--allow-host host1 --allow-host host2 --operation Read --operation Write 
--topic customer.group.*
{code}

Background
Current functionality only understands either an exact name or a star.

  was:
Request
Implement additional functionality for the '--group' option to be able to take 
string/wildcard combination, e.g.:
{code}
bin/kafka-acls --authorizer-properties zookeeper.connect=localhost:2181 --add 
--allow-principal 
"User:CN=Unknown,OU=Unknown,O=Unknown,L=Unknown,ST=Unknown,C=Unknown" 
--consumer --topic test --group mygroup*
{code}
in order to allow different group names that start with mygroup, e.g.:
{code}
kafka-console-consumer --zookeeper localhost:2181 --topic test 
--consumer-property group.id=mygroup1
{code}

Background
Current functionality only permits to specify an exact group name, like 
"--group mygroup" or any group as in "--group *"


> Improve kafka-acls options to understand strings with wildcards
> ---------------------------------------------------------------
>
>                 Key: KAFKA-5713
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5713
>             Project: Kafka
>          Issue Type: Improvement
>          Components: consumer
>    Affects Versions: 0.11.0.0
>            Reporter: Alla Tumarkin
>
> Request
> Implement additional functionality for various kafka-acls options to be able 
> to take string/wildcard combinations, e.g.:
> {code}
> bin/kafka-acls --authorizer-properties zookeeper.connect=localhost:2181 --add 
> --allow-principal 
> "User:CN=Unknown,OU=Unknown,O=Unknown,L=Unknown,ST=Unknown,C=Unknown" 
> --consumer --topic test --group console-consumer-*
> bin/kafka-acls --add --allow-principal user:bob --allow-principal user:alice 
> --allow-host host1 --allow-host host2 --operation Read --operation Write 
> --topic customer.group.*
> {code}
> Background
> Current functionality only understands either an exact name or a star.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to