-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[improve][plugin][s3writer] Improve performance by refactoring code
1. Use Java V2 API 2. Utilize `prefix` to get objects instead of `listObjects` to reduce the number of requests 3. Add a random string before the file suffix to preserve the filename; for example, change the filename 'upload.csv' to 'upload_<random uuid>.csv', the previous file name will be `uplaod.csv_<random uuid>` 4. Optimize code
- Loading branch information
Showing
2 changed files
with
97 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters