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

CAMEL-17027 ensure all file chunks are uploaded when streaming large … #11208

Conversation

jono-morris
Copy link
Contributor

Ensure all chunks are sent when the exchange is processed.

With introduction of the bufferSize config, large files are split into chunks to avoid reading the entire content into memory.
The last chunk will be the remainder, i.e. mod buffersize, ensure it's uploaded while processing the exchange.

@github-actions
Copy link
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟

🐫 Maintainers, please note that first-time contributors require manual approval for the GitHub Actions to run.

⚠️ Please note that the changes on this PR may be tested automatically if they change components.

🤖 Use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot.

If necessary Apache Camel Committers may access logs and test results in the job summaries!

@jono-morris
Copy link
Contributor Author

View without white space changes due to indentation change: https://github.com/apache/camel/pull/11208/files?w=1

@davsclaus davsclaus merged commit a17ddae into apache:main Aug 28, 2023
4 checks passed
@jono-morris jono-morris deleted the CAMEL-17027_aws-s3_send_all_file_chunks_when_streaming branch August 28, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants