Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3152

kafka-acl doesn't allow space in principal name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0.0
    • 0.9.0.1
    • core
    • None

    Description

      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: *

      Attachments

        Activity

          People

            ijuma Ismael Juma
            junrao Jun Rao
            Jun Rao Jun Rao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: