Question

2
Replies
109
Views
Solved

Kafka JAAS Authentication Pega

Hi All,

We are integrating Pega with Kafka to send messages. we have given with few config settings that needs to be done at Pega end for JAAS authentication. I have gone thru few articles and got to know the below.

1) Create JAAS file e.g client_jaas.conf with below details and place the file in server path.(need to know the location)

KafkaClient {
org.apache.kafka.common.security.plain.PlainLoginModule required
username=XXXXX
password=XXXXXX;
};

2) mention the file path in JVM parameter as below

-Djava.security.auth.login.config=< path>/kafka_client_jaas.conf

3) configure below settings (need to know in which file we have add this settings)

security.protocol=SASL_PLAINTEXT
sasl.mechanism=PLAIN

Apart from above please let me know anything else we need to configure for JAAS Auth