Fails to Authenticate when a "+" is present in the password using camel component
Issue
We have a camel spring boot application with a java dsl connection to a confluent kafka broker:
final String saslJaasConfig = "org.apache.kafka.common.security.plain.PlainLoginModule required username=\"USERNAME\" " +
"password=\"PASSWORD\";";
from("kafka:dev-account?brokers=my.kafka.service:9092"
+ "&groupId=AAA"
+ "&saslMechanism=PLAIN"
+ "&securityProtocol=SASL_SSL"
+ "&sslTruststoreLocation=C:\\some\\path\\truststore.jks"
+ "&sslTruststorePassword=changeit"
+ "&saslJaasConfig=" + saslJaasConfig)
Environment
- Red Hat Fuse 7.X
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.