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 9f0ece516e4a13b263351b77fb9364288c182e5f
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Jun 16 14:30:41 2021 +0200

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

diff --git a/aws-s3-streaming-upload-sink.kamelet.yaml 
b/aws-s3-streaming-upload-sink.kamelet.yaml
index 393bb64..0ae6fec 100644
--- a/aws-s3-streaming-upload-sink.kamelet.yaml
+++ b/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