Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS DDB Streams: IteratorType has been renamed and sequenceNumberProvider is not an option anymore #900

Merged
merged 2 commits into from
Apr 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 5 additions & 12 deletions kamelets/aws-ddb-streams-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -109,8 +103,7 @@ spec:
secretKey: "{{?secretKey}}"
accessKey: "{{?accessKey}}"
region: "{{region}}"
iteratorType: "{{iteratorType}}"
sequenceNumberProvider: "{{sequenceNumberProvider}}"
streamIteratorType: "{{streamIteratorType}}"
useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
uriEndpointOverride: "{{?uriEndpointOverride}}"
overrideEndpoint: "{{overrideEndpoint}}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -109,8 +103,7 @@ spec:
secretKey: "{{?secretKey}}"
accessKey: "{{?accessKey}}"
region: "{{region}}"
iteratorType: "{{iteratorType}}"
sequenceNumberProvider: "{{sequenceNumberProvider}}"
streamIteratorType: "{{streamIteratorType}}"
useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
uriEndpointOverride: "{{?uriEndpointOverride}}"
overrideEndpoint: "{{overrideEndpoint}}"
Expand Down