Question
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Schwab
US
Last activity: 7 Sep 2023 21:52 EDT
Kafka configuration instance - properties file - error connecting to external Kafka
Hello all,
I am getting an error when trying to create a Kafka instance to connect to an external Kafka broker.
Pega 8.7.3
Need to use username/password.
I create new Kafka instance, enter Host/Port, upload Configuration properties file, click Test connectivity.
After 60 seconds of wait cursor - I get "Connection failed Error connection to Kafka.." (out of a java step in Data-Admin-Kafka.pzCheckConnection).
I've tried different versions of the properties file - here is one:
sasl.mechanism=PLAIN security.protocol=SASL_PLAINTEXT sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required \ username="ggggg" \ password="ggggg";
Also tried: sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="gggg" password="gggg"; security.protocol=SASL_PLAINTEXT sasl.mechanism=PLAIN
No matter what I pass in username/password - it spins one minute and shows that error (it even says Timeout expired while fetching topic metadata).
Am I using incorrect format or properties in that configuration file?
Thank you in advance,
Bogdan
***Edited by Moderator Marije to add Support Case Details; ***