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

acosentino pushed a commit to branch aws-kinesis-dup-headers
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit abd8aa19622971c33cf2527f8d4a4dd02c222c2f
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Oct 7 11:04:17 2022 +0200

    Duplicate some of headers with a different name - AWS Kinesis Source
---
 kamelets/aws-kinesis-source.kamelet.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/kamelets/aws-kinesis-source.kamelet.yaml 
b/kamelets/aws-kinesis-source.kamelet.yaml
index 4c9decdf..c840d26a 100644
--- a/kamelets/aws-kinesis-source.kamelet.yaml
+++ b/kamelets/aws-kinesis-source.kamelet.yaml
@@ -36,6 +36,8 @@ spec:
       The basic authentication method for the Kinesis service is to specify an 
access key and a secret key. These parameters are optional because the Kamelet 
provides a default credentials provider.
       
       If you use the default credentials provider, the Kinesis client loads 
the credentials through this provider and doesn't use the basic authentication 
method.
+
+      Two headers will be duplicated with different names for clarity at sink 
level, CamelAwsS3Key will be duplicated into aws.s3.key and 
CamelAwsS3BucketName will be duplicated in aws.s3.bucket.name
     required:
       - stream
       - region
@@ -109,7 +111,7 @@ spec:
           - key: mode
             value: 'filtering'
           - key: selectedHeaders
-            value: 
'CamelAwsKinesisPartitionKey,CamelAwsKinesisShardId,CamelAwsKinesisSequenceNumber'
+            value: 'CamelAwsKinesisPartitionKey,CamelAwsKinesisSequenceNumber'
     from:
       uri: aws2-kinesis:{{stream}}
       parameters:

Reply via email to