[ 
https://issues.apache.org/jira/browse/CAMEL-17027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17754870#comment-17754870
 ] 

Claus Ibsen edited comment on CAMEL-17027 at 8/16/23 5:26 AM:
--------------------------------------------------------------

We need to make AWS2S3StreamUploadProducer able to read the InputStream from 
the message body in chuncks, instead of reading it all into memory. It needs 
still to send big payloads to AWS in chuncks.

But something about having an internal buffer of N size (add new option to set 
size), and then keep reading into the buffer until InputStream is EOL.


was (Author: davsclaus):
We need to make AWS2S3StreamUploadProducer able to read the InputStream from 
the message body in chuncks, instead of reading it all into memory

> camel-aws-a3 - Streaming mode upload avoid stream into memory
> -------------------------------------------------------------
>
>                 Key: CAMEL-17027
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17027
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-aws
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 4.1.0
>
>
> We should look at the streaming mode as it loads the stream into memory to 
> copy to the s3 client.
> We can maybe do this a bit smarter, to write in chunks.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to