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/26 09:34:02 UTC

[camel-kamelets] branch main updated (7bca19ba -> dab356da)

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

acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


    from 7bca19ba Update non-working examples in Kamelet Catalog docs
     new 1635ba80 AWS DDB Streams: IteratorType has been renamed and sequenceNumberProvider is not an option anymore
     new dab356da AWS DDB Streams: IteratorType has been renamed and sequenceNumberProvider is not an option anymore

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 kamelets/aws-ddb-streams-source.kamelet.yaml            | 17 +++++------------
 .../kamelets/aws-ddb-streams-source.kamelet.yaml        | 17 +++++------------
 2 files changed, 10 insertions(+), 24 deletions(-)


[camel-kamelets] 02/02: AWS DDB Streams: IteratorType has been renamed and sequenceNumberProvider is not an option anymore

Posted by ac...@apache.org.
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 dab356dafd14c9fd550e6a0d5c586d207392dff3
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Apr 26 11:12:18 2022 +0200

    AWS DDB Streams: IteratorType has been renamed and sequenceNumberProvider is not an option anymore
---
 .../kamelets/aws-ddb-streams-source.kamelet.yaml        | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml
index 56991d1e..378f128d 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml
@@ -66,17 +66,11 @@ spec:
         description: The AWS region to connect to
         type: string
         example: eu-west-1
-      iteratorType:
-        title: Iterator Type
-        description: Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. There are 4 enums and the value can be one of TRIM_HORIZON, LATEST, AT_SEQUENCE_NUMBER, AFTER_SEQUENCE_NUMBER
+      streamIteratorType:
+        title: Stream Iterator Type
+        description: Defines where in the DynamoDB stream to start getting records. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time. There are 2 enums and the value can be one of FROM_LATEST and FROM_START
         type: string
-        default: LATEST
-      sequenceNumberProvider:
-        title: Sequence Number Provider
-        description: Provider for the sequence number when using one of the two ShardIteratorType AT_SEQUENCE_NUMBER or AFTER_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number.
-        type: string
-        example: "900000000005745712447"
-        default: "000000000000000000000"
+        default: FROM_LATEST
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
         description: Set whether the AWS DynamoDB Streams client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
@@ -109,8 +103,7 @@ spec:
         secretKey: "{{?secretKey}}"
         accessKey: "{{?accessKey}}"
         region: "{{region}}"
-        iteratorType: "{{iteratorType}}"
-        sequenceNumberProvider: "{{sequenceNumberProvider}}"
+        streamIteratorType: "{{streamIteratorType}}"
         useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
         uriEndpointOverride: "{{?uriEndpointOverride}}"
         overrideEndpoint: "{{overrideEndpoint}}"


[camel-kamelets] 01/02: AWS DDB Streams: IteratorType has been renamed and sequenceNumberProvider is not an option anymore

Posted by ac...@apache.org.
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 1635ba80df9f65170021ace6c8e28355f207be74
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Apr 26 11:11:45 2022 +0200

    AWS DDB Streams: IteratorType has been renamed and sequenceNumberProvider is not an option anymore
---
 kamelets/aws-ddb-streams-source.kamelet.yaml | 17 +++++------------
 1 file changed, 5 insertions(+), 12 deletions(-)

diff --git a/kamelets/aws-ddb-streams-source.kamelet.yaml b/kamelets/aws-ddb-streams-source.kamelet.yaml
index 56991d1e..378f128d 100644
--- a/kamelets/aws-ddb-streams-source.kamelet.yaml
+++ b/kamelets/aws-ddb-streams-source.kamelet.yaml
@@ -66,17 +66,11 @@ spec:
         description: The AWS region to connect to
         type: string
         example: eu-west-1
-      iteratorType:
-        title: Iterator Type
-        description: Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. There are 4 enums and the value can be one of TRIM_HORIZON, LATEST, AT_SEQUENCE_NUMBER, AFTER_SEQUENCE_NUMBER
+      streamIteratorType:
+        title: Stream Iterator Type
+        description: Defines where in the DynamoDB stream to start getting records. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time. There are 2 enums and the value can be one of FROM_LATEST and FROM_START
         type: string
-        default: LATEST
-      sequenceNumberProvider:
-        title: Sequence Number Provider
-        description: Provider for the sequence number when using one of the two ShardIteratorType AT_SEQUENCE_NUMBER or AFTER_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number.
-        type: string
-        example: "900000000005745712447"
-        default: "000000000000000000000"
+        default: FROM_LATEST
       useDefaultCredentialsProvider:
         title: Default Credentials Provider
         description: Set whether the AWS DynamoDB Streams client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
@@ -109,8 +103,7 @@ spec:
         secretKey: "{{?secretKey}}"
         accessKey: "{{?accessKey}}"
         region: "{{region}}"
-        iteratorType: "{{iteratorType}}"
-        sequenceNumberProvider: "{{sequenceNumberProvider}}"
+        streamIteratorType: "{{streamIteratorType}}"
         useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
         uriEndpointOverride: "{{?uriEndpointOverride}}"
         overrideEndpoint: "{{overrideEndpoint}}"