By default, ReadyAPI supports authentication to Kafka brokers and schema registries using the API key and client secret. In particular, this is a common way of authentication in Confluent.
In ReadyAPI, this process is implemented through the Basic authorization profile:
-
Create a Basic authorization profile:
-
Enter credentials:
- Username – The API key.
- Password – The client secret.
-
Select the profile:
Other authentication methods
If your Kafka broker uses another authentication mechanism, you should add custom authentication parameters to the Connection Settings. For example, for the SASL/PLAIN
authentication, you will need to use the sasl.mechanism=PLAIN
and security.protocol=SASL_PLAINTEXT
parameters:
To learn which parameters you need for other authentication mechanisms, see the documentation of your Kafka provider.