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

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

commit 95dcf8c81884fdb7ba0f8fe5692de00aaa440c4e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri May 19 09:39:43 2023 +0200

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-source.kamelet.yaml
index 6a914f0f..4d7752fd 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/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}}"