Skip to content

feat: Add streaming object download to S3Client#26

Merged
Nana-EC merged 2 commits into
mainfrom
25-s3-input-stream
May 19, 2026
Merged

feat: Add streaming object download to S3Client#26
Nana-EC merged 2 commits into
mainfrom
25-s3-input-stream

Conversation

@ivannov
Copy link
Copy Markdown
Contributor

@ivannov ivannov commented Apr 1, 2026

Description:

This PR extends S3Client with a new public methods to support streaming downloads: an S3 object is exposed directly as an InputStream without buffering it in memory. Returns null if the object does not exist

Related issue(s):

Fixes #25

Notes for reviewer:

The returned InputStream from openObjectStream is backed by a live HTTP connection — callers must close it (ideally via try-with-resources) to avoid connection leaks.

@ivannov ivannov added this to the 0.1 milestone Apr 1, 2026
@ivannov ivannov self-assigned this Apr 1, 2026
@ivannov ivannov added the Feature Enhancement Enhancing an existing feature driven by business requirements. Typically backwards compatible. label Apr 1, 2026
jsync-swirlds
jsync-swirlds previously approved these changes Apr 9, 2026
Nana-EC
Nana-EC previously approved these changes May 5, 2026
@ivannov ivannov dismissed stale reviews from Nana-EC and jsync-swirlds via cdc6209 May 19, 2026 11:30
@ivannov ivannov force-pushed the 25-s3-input-stream branch from d732654 to cdc6209 Compare May 19, 2026 11:30
ivannov added 2 commits May 19, 2026 15:34
Signed-off-by: Ivan St. Ivanov <ivan.st.ivanov@gmail.com>
Signed-off-by: Ivan St. Ivanov <ivan.st.ivanov@gmail.com>
@ivannov ivannov force-pushed the 25-s3-input-stream branch from a6cfa1a to 4b6bae4 Compare May 19, 2026 12:34
Copy link
Copy Markdown
Contributor

@Nana-EC Nana-EC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@Nana-EC Nana-EC merged commit 527f3c3 into main May 19, 2026
13 checks passed
@Nana-EC Nana-EC deleted the 25-s3-input-stream branch May 19, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Enhancement Enhancing an existing feature driven by business requirements. Typically backwards compatible.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add streaming object download to S3Client

3 participants