You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/05/19 08:01:17 UTC

[camel-kamelets] 01/05: Kafka Secured Source Kamelet: use double quote around user and password

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch 3.20.x-1476
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 020f08962b62b0f48e31f2487bb9a79b2963e462
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri May 19 09:37:39 2023 +0200

    Kafka Secured Source Kamelet: use double quote around user and password
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/kafka-source.kamelet.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kamelets/kafka-source.kamelet.yaml b/kamelets/kafka-source.kamelet.yaml
index b1c763c2..39f52606 100644
--- a/kamelets/kafka-source.kamelet.yaml
+++ b/kamelets/kafka-source.kamelet.yaml
@@ -143,7 +143,7 @@ spec:
         brokers: "{{?bootstrapServers}}"
         securityProtocol: "{{securityProtocol}}"
         saslMechanism: "{{saslMechanism}}"
-        saslJaasConfig: "org.apache.kafka.common.security.plain.PlainLoginModule required username='{{user}}' password='{{password}}';"
+        saslJaasConfig: 'org.apache.kafka.common.security.plain.PlainLoginModule required username="{{user}}" password="{{password}}";'
         autoCommitEnable: "{{autoCommitEnable}}"
         allowManualCommit: "{{allowManualCommit}}"
         pollOnError: "{{pollOnError}}"