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:09 UTC

[camel-kamelets] 06/08: Kafka Scram 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 1476
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 45f280a9b45d0f9c65a80d04125da6cf64381c07
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri May 19 09:44:58 2023 +0200

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-scram-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-scram-source.kamelet.yaml
index 90a22951..3be6ba2d 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-scram-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-scram-source.kamelet.yaml
@@ -143,7 +143,7 @@ spec:
         brokers: "{{?bootstrapServers}}"
         securityProtocol: "{{securityProtocol}}"
         saslMechanism: "{{saslMechanism}}"
-        saslJaasConfig: "org.apache.kafka.common.security.scram.ScramLoginModule required username='{{user}}' password='{{password}}';"
+        saslJaasConfig: 'org.apache.kafka.common.security.scram.ScramLoginModule required username="{{user}}" password="{{password}}";'
         autoCommitEnable: "{{autoCommitEnable}}"
         allowManualCommit: "{{allowManualCommit}}"
         pollOnError: "{{pollOnError}}"