Skip to content

Conversation

@aindriu-aiven
Copy link
Contributor

@aindriu-aiven aindriu-aiven commented Dec 18, 2025

This is a small change made to be able to remove the aws 1.x sdk and provide the same functionality in the cutover.

I have not done any work on improving the existing code that can be done in a follow up PR.

.withCredentials(new AWSStaticCredentialsProvider(new BasicAWSCredentials(
localStackContainer.getAccessKey(), localStackContainer.getSecretKey())))
static S3Client createS3Client(final LocalStackContainer localStackContainer) {
return S3Client.builder()
Copy link
Contributor Author

Choose a reason for hiding this comment

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

remove the use of the aws sdk 1.X client for integration tests.

}

private AmazonS3 createAmazonS3Client(final S3SinkConfig config) {
final var awsEndpointConfig = newEndpointConfiguration(this.config);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is now in S3ClientFactory

* See the License for the specific language governing permissions and
* limitations under the License.
*/

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This has been copied from the S3Source connector, I should just move this to a common place.

…sting the correct details

Signed-off-by: Aindriu Lavelle <[email protected]>
@aindriu-aiven aindriu-aiven force-pushed the aindriu-aiven/update-aws-sdk branch 3 times, most recently from d49ef0e to d192572 Compare December 19, 2025 11:49
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