John, Setup SASL using the username match you set on ACL will work for your case. you can follow the steps in offical document.
Ping On Wed, Apr 20, 2016 at 6:08 AM, Pawley, John <john.paw...@sky.uk> wrote: > Hello, > > We have managed to enable the SimpleAuthorizer for Kafka, and we can no > longer connect to the local queue without authorization. However we can't > figure out how to supply a username when trying to connect from the console > producer. We have already added users with permissions via the kafka-acls > shell script. > > Regards, > John > Information in this email including any attachments may be privileged, > confidential and is intended exclusively for the addressee. The views > expressed may not be official policy, but the personal views of the > originator. If you have received it in error, please notify the sender by > return e-mail and delete it from your system. You should not reproduce, > distribute, store, retransmit, use or disclose its contents to anyone. > Please note we reserve the right to monitor all e-mail communication > through our internal and external networks. SKY and the SKY marks are > trademarks of Sky plc and Sky International AG and are used under licence. > Sky UK Limited (Registration No. 2906991), Sky-In-Home Service Limited > (Registration No. 2067075) and Sky Subscribers Services Limited > (Registration No. 2340150) are direct or indirect subsidiaries of Sky plc > (Registration No. 2247735). All of the companies mentioned in this > paragraph are incorporated in England and Wales and share the same > registered office at Grant Way, Isleworth, Middlesex TW7 5QD. >