Let's now look into the basic operations of the ACL:
- Kafka provides a simple authorizer; to enable this authorizer, add the following line to server properties of Kafka:
authorizer.class.name=kafka.security.auth.SimpleAclAuthorizer
- As discussed in previous paragraphs, by default, only a superuser will have access to resources if no ACL is found. However, this behavior can be changed if we want to allow everyone to access resources if no ACL is set. Add the following line to server properties:
allow.everyone.if.no.acl.found=true
- You can also add more superusers to your Kafka cluster by adding users to the following property in the server property file:
super.users=User:Bob;User:Alice
- Adding an ACL: An ACL can be ...