// kafka-acls.sh --list --bootstrap-server :9092
Error while executing ACL command: org.apache.kafka.common.errors.SecurityDisabledException: No Authorizer is configured on the broker
AclCommand Administration Utility
AclCommand is an administration utility for ACL management using AdminClient API.
AclCommand is executed using kafka-acls.sh shell script.
| Option | Description | ||
|---|---|---|---|
|
|||
|
Host from which principals listed in --allow-principal will have access
|
||
|
Host from which principals listed in --deny-principal will be denied access
|
||
|
|||
|
Fully-qualified class name of the Authorizer |
||
|
(required) |
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Used in combination with the --producer option Idempotence is enabled automatically if the producer is authorized to a particular transactional-id |
||
|
|||
|
Default: All Supported operations: |
||
|
|||
|
|||
|
|||
|
Default:
|
||
|
|||
|
|||
|
AclCommand uses AdminClientService (when executed with --bootstrap-server option) or AuthorizerService.
kafka-acls.sh requires Authorizer to be configured on a broker (when executed with --bootstrap-server option) or throws a SecurityDisabledException:
Executing Standalone Application — main Object Method
main(args: Array[String]): Unit
main is the entry point of the AclCommand when launched on command line (e.g. using kafka-acls.sh shell script).
Internally, main reads the options from the command line.
main prints out the following for no command-line options, --help or --version:
This tool helps to manage acls on kafka
main selects the command service between AdminClientService when --bootstrap-server is used and AuthorizerService otherwise.