if i create a kafka connection using simple string then it works..
but if i create connection with these pramaters..
${str:concat(str:concat(str:concat("org.apache.kafka.common.security.scram.ScramLoginModule required username='", credential:get("aws", "all@myorg.org", "MyStreamsetsSecret&kafka_username")), str:concat("' password='", credential:get("aws", "all@myorg.org", "MyStreamsetsSecret&kafka_password"))), "';")}
then i am getting an below error if i test a connection
- KAFKA_67 - Error connecting to Kafka Brokers 'org.apache.kafka.common.KafkaException: Failed to create new KafkaAdminClient'