12.4. KafkaListenerAuthenticationCustom 模式属性
type
属性是一种辨别器,它会区分来自 KafkaListenerAuthenticationTls
, KafkaListenerAuthenticationScramSha512
, KafkaListenerAuthenticationOAuth
的 KafkaListenerAuthenticationCustom
类型的使用。对于类型 KafkaListenerAuthenticationCustom
,它需要有值 custom
。
属性 | 属性类型 | 描述 |
---|---|---|
listenerConfig | map | 用于特定监听程序的配置。所有值都以 listener.name. <listener_name > 前缀。 |
sasl | 布尔值 | 在此监听器上启用或禁用 SASL。 |
secrets | 要挂载到 /opt/kafka/custom-authn-secrets/custom-listener- <listener_name>-<port> / <secret_name > 的 secret。 | |
type | string |
必须是 |