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

acosentino pushed a commit to branch s3-batch-size
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 3c9bddb0b85066ea627fc5310e2287723cff4c34
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Jun 16 14:32:23 2021 +0200

    AWS S3 Streaming Upload: Added Batch Size option
---
 .../resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml    | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/library/camel-kamelets-catalog/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
 
b/library/camel-kamelets-catalog/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
index 393bb64..0ae6fec 100644
--- 
a/library/camel-kamelets-catalog/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
+++ 
b/library/camel-kamelets-catalog/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
@@ -70,6 +70,11 @@ spec:
         description: The number of messages composing a batch in streaming 
upload mode
         type: int
         default: 10
+      batchSize:
+        title: Batch Size
+        description: The batch size (in bytes) in streaming upload mode
+        type: int
+        default: 1000000
       namingStrategy:
         title: Naming Strategy
         description: The naming strategy to use in streaming upload mode. 
There are 2 enums and the value can be one of progressive, random
@@ -96,6 +101,7 @@ spec:
             streamingUploadMode: "{{streamingUploadMode}}"
             restartingPolicy: "{{restartingPolicy}}"
             batchMessageNumber: "{{batchMessageNumber}}"
+            batchSize: "{{batchSize}}"
             namingStrategy: "{{namingStrategy}}"
             keyName: "{{keyName}}"
 

Reply via email to