This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 66be8df2322e69d2a09bcd1088cccff1200ef96a Author: Marco Martins <[email protected]> AuthorDate: Mon Oct 17 09:28:09 2022 +0100 Add JAAS config as optional --- kamelets/kafka-ssl-source.kamelet.yaml | 6 ++++++ .../src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/kamelets/kafka-ssl-source.kamelet.yaml b/kamelets/kafka-ssl-source.kamelet.yaml index adc87a3b..56c3c4a0 100644 --- a/kamelets/kafka-ssl-source.kamelet.yaml +++ b/kamelets/kafka-ssl-source.kamelet.yaml @@ -140,6 +140,10 @@ spec: title: SSL Enabled Protocols type: string default: TLSv1.2,TLSv1.1,TLSv1 + saslJaasConfig: + description: Java Authentication and Authorization Service (JAAS) for Simple Authentication and Security Layer (SASL) configuration. + title: JAAS Configuration + type: string dependencies: - "github:apache.camel-kamelets:camel-kamelets-utils:main-SNAPSHOT" - "camel:core" @@ -179,6 +183,8 @@ spec: value: '{{allowManualCommit}}' - key: autoCommitEnable value: '{{autoCommitEnable}}' + - key: saslJaasConfig + value: '{{?saslJaasConfig}}' type: '#class:org.apache.camel.component.kafka.KafkaConfiguration' - name: kafkaHeaderDeserializer type: "#class:org.apache.camel.kamelets.utils.serialization.kafka.KafkaHeaderDeserializer" diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml index adc87a3b..56c3c4a0 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml @@ -140,6 +140,10 @@ spec: title: SSL Enabled Protocols type: string default: TLSv1.2,TLSv1.1,TLSv1 + saslJaasConfig: + description: Java Authentication and Authorization Service (JAAS) for Simple Authentication and Security Layer (SASL) configuration. + title: JAAS Configuration + type: string dependencies: - "github:apache.camel-kamelets:camel-kamelets-utils:main-SNAPSHOT" - "camel:core" @@ -179,6 +183,8 @@ spec: value: '{{allowManualCommit}}' - key: autoCommitEnable value: '{{autoCommitEnable}}' + - key: saslJaasConfig + value: '{{?saslJaasConfig}}' type: '#class:org.apache.camel.component.kafka.KafkaConfiguration' - name: kafkaHeaderDeserializer type: "#class:org.apache.camel.kamelets.utils.serialization.kafka.KafkaHeaderDeserializer"
