General kafka configuration
Configuring access to Existing Kafka cluster
Properties
Here, you should provide Kafka properties required by:
to connect to your Kafka cluster, and by
to connect to Schema Registry server.
Configuration should be provided in JSON format.
Example configuration:
{
"bootstrap.servers": "kafka.some.domain-1:9092,kafka.some.domain-2:9092,kafka.some.domain-3:9092",
"security.protocol": "SASL_SSL",
"sasl.jaas.config": "org.apache.kafka.common.security.plain.PlainLoginModule required username = \"username\" password=\"password\";",
"sasl.mechanism": "PLAIN",
"ssl.truststore.type": "PEM",
"ssl.truststore.location": "/certs/client.truststore",
"schema.registry.url": "https://some.schema.registry.host:8080",
"basic.auth.credentials.source": "USER_INFO",
"basic.auth.user.info": "usernameToSR:passwordToSR"
}
Keystore
If your Kafka cluster is configured to use TLS/SSL encryption and therefore requires a keystore to connect, here you can paste it in PEM format. Please remember to include both key and certificates (see e.g. this blog for the details)
At runtime keystore file will be available in /certs/client.keystore
location, so in Properties config, set it at key ssl.keystore.location.
If your Kafka configuration does not require keystore leave this field empty.
Truststore
If your Kafka cluster requires a truststore to connect, here you can provide the truststore file in PEM format.
At runtime the truststore file will be available in /certs/client.truststore
location, so in Properties config, set it at key ssl.truststore.location.
If your Kafka configuration does not require truststore leave this field empty.