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

feat: s3 transfer manager v2 #3079

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

yenfryherrerafeliz
Copy link
Contributor

Description of changes:

  • Transfer Manager V2 implementation.
  • This changes includes:
    • Basic S3 Transfer Manager Client.
    • Multipart Download Functionality
    • Progress Tracker interfaces, along with a default console progress tracker.
    • Multipart Download listener in order to listen events more close to multipart downloads.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This is an initial phase for the s3 transfer manager v2, which includes:
- Progress Tracker with a default Console Progres Bar.
- Dedicated Multipart Download Listener for listen to events specificly to multipart download.
- Generic Transfer Listener that will be used in either a multipart upload or a multipart download. The progress tracker is dependant on the Generic Transfer Listener, and when enabled it uses the same parameter to be provided as the progress tracker. This is important because if there is a need for listening to transfer specific events and also track the progress then, a custom implementation must be done that incorporate those two needs together, otherwise one of each other must be used.
- Single Object Download
- Multipart Objet Download

This initial implementation misses the test cases.
- Refactor set a single argument, even when not exists, in the console progress bar.
- Add a specific parameter for showing the progress rendering defaulted to STDOUT.
- Add test cases for ConsoleProgressBar.
- Add test cases for DefaultProgressTracker.
- Add test cases for ObjectProgressTracker.
- Add test cases for TransferListener.
- Add test cases for multipart download listener.
- Add a trait to the MultipartDownloader implementation to keep the main implementatio cleaner.
- Add test cases for multipart downloader, in specific testing part and range get multipart downloader.
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

Successfully merging this pull request may close these issues.

1 participant