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 2022/04/11 04:58:17 UTC

[camel-kamelets] 06/08: Add back Kafka SSL Source Kamelet

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

acosentino pushed a commit to branch ssl-kafka-source
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 0b0d8de1c4ba12aa11539c682045d014bdf39c43
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Apr 11 06:56:05 2022 +0200

    Add back Kafka SSL Source Kamelet
---
 .../src/main/resources/kamelets/kafka-ssl-source.kamelet.yaml  | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

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 cc131e42..141a1cc4 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
@@ -90,6 +90,14 @@ spec:
         default: "latest"
         x-descriptors:
           - urn:keda:metadata:offsetResetPolicy
+      consumerGroup:
+        title: Consumer Group
+        description: A string that uniquely identifies the group of consumers to which this source belongs
+        type: string
+        example: "my-group-id"
+        x-descriptors:
+        - urn:keda:metadata:consumerGroup
+        - urn:keda:required
       consumerGroup:
         title: Consumer Group
         description: A string that uniquely identifies the group of consumers to which this source belongs
@@ -173,7 +181,7 @@ spec:
           - key: saslMechanism
             value: '{{saslMechanism}}'
           - key: groupId
-            value: '{{groupId}}'
+            value: '{{?consumerGroup}}'
           - key: autoOffsetReset
             value: '{{autoOffsetReset}}'
           - key: pollOnError