Skip to content

Using the HTTP Body Stream Directly for Uploads in MinIO #1289

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

Open
emanuel-v-r opened this issue Mar 26, 2025 · 0 comments
Open

Using the HTTP Body Stream Directly for Uploads in MinIO #1289

emanuel-v-r opened this issue Mar 26, 2025 · 0 comments

Comments

@emanuel-v-r
Copy link

Hi,

I'm currently working with MinIO and I have a scenario where I'm receiving data from a source that simply copies the data into a stream. From my understanding, when I want to upload this data to MinIO using the SDK, I'm forced to create a temporary intermediary stream (either in-memory or a temp file) before passing it to the MinIO SDK for upload.

However, I would like to make this process more efficient by directly using the underlying HTTP body stream, thereby avoiding the creation of this unnecessary intermediary stream. Is it possible to upload data to MinIO using the original HTTP body stream, or would I need to bypass the SDK and use the raw HTTP API directly?

Any guidance or suggestions on this would be greatly appreciated!

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant