Connecting to Kafka by using SSL only

Pass truststore and security protocol properties. The security protocol is SSL. You set no JAAS configuration.

Procedure

  1. Retrieve the truststore that contains your Kafka broker certificate.

    See the Encryption and Authentication by using SSL page of the Kafka documentation.

  2. Add the following properties to the event emitter configuration.
    Note: If the configuration uses the plugin-configuration.properties file, the following properties must be prefixed with com.ibm.rules.bai.plugin..
    kafka.security.protocol
    The value is SSL.
    kafka.ssl.truststore.location
    The full path to the truststore JKS file that you created previously.
    kafka.ssl.truststore.password
    The password to the truststore.