Question
Virtusa UK Ltd
GB
Last activity: 15 Feb 2023 6:37 EST
PEGA Cloud connectivity issue to Confluent Kafka
Hi - I want to connect to Confluent Kafka cluster from PEGA cloud instance.
I have created a kafka instance and mapped the hostname and port number. Upon saving the kafka rule instance, I am getting the Connectivity exception. If I hit the Test connectivity button, I am getting a timeout error saying unable to fetch the topic metadata. I am not getting any useful error messages in the logs.
Can anyone please advise if you have tried connecting to confluent kafka before? I am using pega 8.7.4 version
***Edited by Moderator Marije to add Capability tags***
@GaneshKumarC3200
I had the same issue, you can use the below settings in a properties file and upload it in the kafka instance. make sure there are no extra spaces or new lines. this resolved the issue for me in 8.7.4 pega cloud.
sasl.mechanism=PLAIN
security.protocol=SASL_PLAINTEXT
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username='myusername' password='mypassword';
also, check if your kafka provider supports jaas based authentication. as pega cloud can be accessed directly from internet, if your kafka provider accepts requests only from a private network then you might have to check with your internal network team.