PowerExchange for Kafka User Guide for PowerCenter

PowerExchange for Kafka User Guide for PowerCenter

Configuring SASL PLAIN Authentication for a Kafka Cluster

Configuring SASL PLAIN Authentication for a Kafka Cluster

To read from or write to a Kafka cluster with SASL PLAIN authentication, you can either configure the Kafka connection properties or in the source or target session properties. If you have already configured SASL PLAIN authentication in the Kafka connection properties, you can choose to override those properties from the source or target session properties.
Configure SASL PLAIN authentication in the following properties:
Kafka connection
Configure the
Additional Connection Properties
property in a Kafka connection and specify the value in the following format:
security.protocol=SASL_SSL,sasl.mechanism=PLAIN,sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username=<username> password=<password>
In the Security Configuration Section, select
One-Way
as the
SSL Mode
and specify the
SSL TrustStore File Path
and
SSL TrustStore Password
.
Sources
Configure the
Consumer Configuration Properties
property in the source session properties to override the value specified in the
Additional Connection Properties
property in a Kafka connection. Specify the value in the following format:
security.protocol=SASL_SSL,sasl.mechanism=PLAIN,sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username=<username> password=<password>
Targets
Configure the
Producer Configuration Properties
property in the target session properties to override the value specified in the
Additional Connection Properties
property in a Kafka connection. Specify the value in the following format:
security.protocol=SASL_SSL,sasl.mechanism=PLAIN,sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username=<username> password=<password>

0 COMMENTS

We’d like to hear from you!