Chapter 21. KafkaAuthorizationSimple schema reference
Used in: KafkaClusterSpec
Full list of KafkaAuthorizationSimple schema properties
Simple authorization in AMQ Streams uses the AclAuthorizer plugin, the default Access Control Lists (ACLs) authorization plugin provided with Apache Kafka. ACLs allow you to define which users have access to which resources at a granular level.
Configure the Kafka custom resource to use simple authorization. Set the type property in the authorization section to the value simple, and configure a list of super users.
Access rules are configured for the KafkaUser, as described in the ACLRule schema reference.
21.1. superUsers 링크 복사링크가 클립보드에 복사되었습니다!
A list of user principals treated as super users, so that they are always allowed without querying ACL rules.
An example of simple authorization configuration
The super.user configuration option in the config property in Kafka.spec.kafka is ignored. Designate super users in the authorization property instead. For more information, see Kafka broker configuration.
21.2. KafkaAuthorizationSimple schema properties 링크 복사링크가 클립보드에 복사되었습니다!
The type property is a discriminator that distinguishes use of the KafkaAuthorizationSimple type from KafkaAuthorizationOpa, KafkaAuthorizationKeycloak, KafkaAuthorizationCustom. It must have the value simple for the type KafkaAuthorizationSimple.
| Property | Description |
|---|---|
| type |
Must be |
| string | |
| superUsers | List of super users. Should contain list of user principals which should get unlimited access rights. |
| string array |