24.3. その他の設定オプション
Kafka.spec.kafka.config を使用して、カスタムオーソライザーを初期化するための設定をさらに追加できます。
Kafka.spec でのカスタム認可設定の例
apiVersion: kafka.strimzi.io/v1beta2
kind: Kafka
metadata:
name: my-cluster
namespace: myproject
spec:
kafka:
# ...
authorization:
type: custom
authorizerClass: io.mycompany.CustomAuthorizer
superUsers:
- CN=client_1
- user_2
- CN=client_3
# ...
config:
authorization.custom.property1=value1
authorization.custom.property2=value2
# ...