Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhancement(aws_s3 source): Send content_md5 when writing objects (#7936
) * enhancement(aws_s3 source): Send content_md5 when writing objects This is required when the bucket has [object locking](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html) enabled, but also gives a bit more confidence that the object makes it to S3 uncorrupted. Unfortunately the test I added doesn't actually validate that Vector works with object locked buckets due to [a gap in localstack](localstack/localstack#4166) but I did verify it manually be creating a bucket with object locking enabled, observing the failure, making the implementation change, and observing the success. Closes: #7310 Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
- Loading branch information
Showing
3 changed files
with
104 additions
and
32 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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