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

pipe to unzip to s3? #15

Open
swamidass opened this issue Dec 21, 2023 · 1 comment
Open

pipe to unzip to s3? #15

swamidass opened this issue Dec 21, 2023 · 1 comment

Comments

@swamidass
Copy link

What if you have this zip locally (or at least a stream for it) and want to unzip it into an s3 bucket? How would we do this?

@nejckorasa
Copy link
Owner

Hi, this is not directly supported unfortunately as the tool specifically handles unzipping files in S3. That said, it would be possible to extend it by supporting unzipping local files. Contributions are very welcome!

UnzipStrategy (e.g. NoSplitUnzipStrategy.java) is performing the unzip - translating input stream from S3 zip file and uploading it unzipped back to S3, here.

You can take the same approach for local zip files, following the implementation of S3UnzipManager.

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

2 participants