-
Notifications
You must be signed in to change notification settings - Fork 332
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
Add suport for custom S3 object tagging #690
Add suport for custom S3 object tagging #690
Conversation
Signed-off-by: Dao Thanh Tung <[email protected]>
Signed-off-by: Dao Thanh Tung <[email protected]>
CI is failing. I dig up further into the error log and some Integration Tests are failing (link). According to the README file, a env var
|
Signed-off-by: Dao Thanh Tung <[email protected]>
Signed-off-by: Dao Thanh Tung <[email protected]>
Hi @Enigma25 , could you help to review this PR? I saw that you are one of the most active committers from Confluent in this project 🙏 |
@dttung2905 Thanks for the PR. |
Thank you very much for the feedback. Will try to refactor the code abit to incorporate this change. 🙏 |
Signed-off-by: dttung2905 <[email protected]>
Hi @pbadani, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @dttung2905
Thanks @pbadani, is there any final step I need to do to get this one merged ? |
No, we can just merge it. |
Thanks @pbadani for the merge. Could you help to point me to the relevant repo for documentation update? I tried to search in this repo but could not find any place to update the user facing doc like https://docs.confluent.io/kafka-connectors/s3-sink/current/overview.html. I think its an internal repo for Confluent employee only 😄 |
Problem
Currently, there is a boolean field
s3.object.tagging
in the Kafka Connect sink to S3 config. If set totrue
,connector adds s3 object level tags for starting offset, ending offset, and total record count of a given file. Furthermore, we would like to make Kafka Connect sink to S3 able to sink S3 object with configurable tags. This is extremely valuable if users want to manage S3 Object lifecyle based on S3 tags.Ultimately, this PR solve issue #68
Solution
To add two extra fields
s3.object.tagging.key
ands3.object.tagging.value
for users to specify their own key value pairs.s3.object.tagging
must also be set totrue
as pre-requisiteDoes this solution apply anywhere else?
If yes, where?
Test Strategy
Testing done:
Release Plan