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

Adding information for handling S3 Sink multipart upload aborted parts #385

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions s3-sink-connector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -625,6 +625,14 @@ There are four configuration properties to configure retry strategy exists.
- To use SSE-KMS set to `aws:kms`
- To use DSSE-KMS set to `aws:kms:dsse`


### Incomplete Multipart uploads
aindriu-aiven marked this conversation as resolved.
Show resolved Hide resolved
The S3 Sink Connector uploads the files using the S3 Mutli part upload API for improved performance and handling large file sizes.
aindriu-aiven marked this conversation as resolved.
Show resolved Hide resolved
Occasionally the API can throw an exception or the connector can fail to complete a multipart upload.
This can leave "Parts" of the multipart upload on S3 waiting to complete taking up unnecessary space.
aindriu-aiven marked this conversation as resolved.
Show resolved Hide resolved
To handle these incomplete parts AWS recommends setting up a Lifecycle rule to delete old parts that weren't completed as described in this excellent (blog post)[https://aws.amazon.com/blogs/aws-cloud-financial-management/discovering-and-deleting-incomplete-multipart-uploads-to-lower-amazon-s3-costs/].
Or if you would prefer to work through the official documentation it is available (here)[https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpu-abort-incomplete-mpu-lifecycle-config.html]
aindriu-aiven marked this conversation as resolved.
Show resolved Hide resolved

## Development

### Developing together with Commons library
Expand Down
Loading