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

[camel-kamelets] 05/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 00db1a8ebbef2b5da7fa63aba7b153ebdbcee09a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Apr 11 06:55:21 2022 +0200

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

diff --git a/kamelets/kafka-ssl-source.kamelet.yaml b/kamelets/kafka-ssl-source.kamelet.yaml
index cc131e42..141a1cc4 100644
--- a/kamelets/kafka-ssl-source.kamelet.yaml
+++ b/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