Support Article
Unable to overwrite runtime class for Kafka runtime connection
SA-72967
Summary
When configuring Kafka in Pega with SASL mechanism of SCRAM-SHA-*, the user name and password are loaded using the Kafka.config file. The -D is loaded and added to Pega JVM, and a module is created to expose the org.apache.kafka.common.security.scram.ScramLoginModule.Kafka authentication class. Finally, the Data-Admin-Kafka.validate must be overwritten such that it uses the client Java class. However, unable to overwrite the runtime class for Kafka runtime connection.
Error Messages
Error connecting to Kafka. Timeout expired while fetching topic metadata

Steps to Reproduce
- Set the SASL_SSL security profile and SCRAM-SHA-256 mechanism in the kafka_server_jaas configuration file.
- Set Pega's -D JAVA_OPTS argument with the file location.
- Test the Kafka rule.
Root Cause
This issue was determined to be a product enhancement request.
Pega does not support SCRAM-SHA* or overwrite the Kafka configuration.
Resolution
An enhancement request, FDBK-30087, is created for consideration by Pega Product Management.
Published April 3, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.