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

Common config with fragments #344

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

aindriu-aiven
Copy link
Contributor

@aindriu-aiven aindriu-aiven commented Nov 14, 2024

AivenCommonConfig

  • Has common Configuration in S3SinkBaseConfig and S3SourceBaseConfig

  • Includes some config loader methods that are common to both for AWS STS and S3 Retry Policies

  • Updates the S3 Sink Connector to use the s3-common lib

  • Added deprecated config & a separate method to load into config so S3 Sink can decide when to remove deprecated config

  • Config Fragments introduced to help split code between Sink and Source while reducing duplication.

  • Addition of a new module/project to allow the sharing of common code between S3 Sink and Source

  • Handles Creation of S3 Aws client

  • Refactors commons AivenCommonConfig and splits into a common config and a Sink and Source config, deprecating the

This was built on top of this smaller branch aindriu-aiven/split-common-s3-config

aindriu-aiven and others added 15 commits November 5, 2024 11:13
…ector use the sink source for configuration

Signed-off-by: Aindriu Lavelle <[email protected]>
Signed-off-by: Aindriu Lavelle <[email protected]>
Signed-off-by: Aindriu Lavelle <[email protected]>
Signed-off-by: Aindriu Lavelle <[email protected]>
* fixed test issues and updated javadoc

* removed unnecessary RecordGrouperFactory changes

---------

Co-authored-by: ¨Claude <¨[email protected]¨>
@aindriu-aiven aindriu-aiven requested review from a team as code owners November 14, 2024 10:16
@aindriu-aiven aindriu-aiven force-pushed the aindriu-aiven/common-config-with-fragments branch from 9713291 to b194f7b Compare November 14, 2024 10:40
Copy link
Contributor

@Claudenw Claudenw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not review the tests.

@aindriu-aiven aindriu-aiven force-pushed the aindriu-aiven/common-config-with-fragments branch 2 times, most recently from 16cc8e3 to 66816f9 Compare November 14, 2024 15:07
@aindriu-aiven
Copy link
Contributor Author

@RyanSkraba @AnatolyPopov would you be able to take a look ?

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.

2 participants