[ https://issues.apache.org/jira/browse/KAFKA-3152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15118401#comment-15118401 ]
Ismael Juma commented on KAFKA-3152: ------------------------------------ This is a trivial bug in the kafka-acls shell script. Many other shell scripts have the same problem. Will post a PR tomorrow. > kafka-acl doesn't allow space in principal name > ----------------------------------------------- > > Key: KAFKA-3152 > URL: https://issues.apache.org/jira/browse/KAFKA-3152 > Project: Kafka > Issue Type: Bug > Components: core > Affects Versions: 0.9.0.0 > Reporter: Jun Rao > Assignee: Ismael Juma > > When running the following, > kafka-acls --authorizer kafka.security.auth.SimpleAclAuthorizer > --authorizer-properties zookeeper.connect=localhost:2181 --topic test --add > --producer --allow-host=* --allow-principal "User:CN=xxx,O=My Organization" > the acl is set as the following. The part after space is ignored. > Following is list of acls for resource: Topic:test > User:CN=xxx,O=My has Allow permission for operations: Describe from > hosts: * > User:CN=xxx,O=My has Allow permission for operations: Write from hosts: > * -- This message was sent by Atlassian JIRA (v6.3.4#6332)