このコンテンツは選択した言語では利用できません。
Chapter 91. KafkaClientAuthenticationCustom schema reference
Used in: KafkaBridgeSpec, KafkaConnectSpec, KafkaMirrorMaker2ClusterSpec
Full list of KafkaClientAuthenticationCustom schema properties
To configure custom client authentication, set the type property to custom. Custom client authentication allows you to use any type of Kafka-supported authentication mechanism. This authentication option is especially useful with third-party Apache Kafka services, such as Amazon MSK, that require their own authentication mechanisms.
Example custom client authentication configuration using the AWS_MSK_IAM authentication
The config section accepts only options that start with the prefixes sasl. and ssl.keystore.. All other options are ignored. To configure additional options, use the related properties of the Streams for Apache Kafka custom resource, such as .spec.config or .spec.tls. The security.protocol `setting is generated automatically from the `sasl property (when you use custom authentication) and the tls configuration in the same Streams for Apache Kafka custom resource:
-
SASL = True, TLS = True
SASL_SSL -
SASL = False, TLS = True
SSL -
SASL = True, TLS = False
SASL_PLAINTEXT -
SASL = False, TLS = False
PLAINTEXT
91.1. Using secrets in custom authentication リンクのコピーリンクがクリップボードにコピーされました!
If your custom authentication mechanism requires additional information from Secret or ConfigMap resources, use the Additional Volumes feature to mount them into the operands. Kafka configuration providers can be used to load them from the disk.
91.2. Using additional authentication plugins リンクのコピーリンクがクリップボードにコピーされました!
Custom authentication mechanisms might require additional plugins for the operand. You can add them using the Additional Volumes feature. Alternatively, you can build a custom container image.
91.3. KafkaClientAuthenticationCustom schema properties リンクのコピーリンクがクリップボードにコピーされました!
The type property is a discriminator that distinguishes use of the KafkaClientAuthenticationCustom type from KafkaClientAuthenticationTls, KafkaClientAuthenticationScramSha256, KafkaClientAuthenticationScramSha512, KafkaClientAuthenticationPlain, KafkaClientAuthenticationOAuth. It must have the value custom for the type KafkaClientAuthenticationCustom.
| Property | Property type | Description |
|---|---|---|
| type | string |
Must be |
| sasl | boolean | Enable or disable SASL on this authentication mechanism. |
| config | map |
Configuration for the custom authentication mechanism. Only properties with the |