Skip to content

[Java] Remove AWS SDK v1 version property and dependency management from parent POM#507

Open
jvdadda wants to merge 1 commit intoawslabs:masterfrom
mobsuccess-devops:remove-sdk-v1-parent-pom-cleanup
Open

[Java] Remove AWS SDK v1 version property and dependency management from parent POM#507
jvdadda wants to merge 1 commit intoawslabs:masterfrom
mobsuccess-devops:remove-sdk-v1-parent-pom-cleanup

Conversation

@jvdadda
Copy link
Copy Markdown

@jvdadda jvdadda commented Mar 9, 2026

Issue #, if available: Closes #500

Description of changes:

Final cleanup to complete the removal of AWS SDK v1 references:

  • Remove the aws.sdk.v1.version property from the parent POM
  • Remove the com.amazonaws:aws-java-sdk-kinesis dependency management entry

All modules have been migrated to AWS SDK v2 in the preceding PRs.

Requires #503, #504, #505, #506, and #508 to be merged first.

This PR chain (#503#504#505#506#508#507) also addresses #274 (AWS SDK v2 upgrade plans) and supersedes #338 which partially addressed the same goal.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copilot AI review requested due to automatic review settings March 9, 2026 09:02
…ent POM

Remove the aws.sdk.v1.version property and the aws-java-sdk-kinesis
dependency management entry, as all modules have been migrated to v2.
@jvdadda jvdadda force-pushed the remove-sdk-v1-parent-pom-cleanup branch from 5fc008b to 146a7f9 Compare March 9, 2026 09:05
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR completes the removal of AWS SDK v1 dependencies from the project, as part of issue #500, migrating the last remaining SDK v1 references to SDK v2 after the SDK v1 end-of-support on December 31, 2025. The amazon-kinesis-producer (KPL) dependency is intentionally kept since it is a separate library from the AWS Java SDK v1.

Changes:

  • Remove the aws.sdk.v1.version property and aws-java-sdk-kinesis dependency management entry from the parent POM, and remove aws-java-sdk-sts dependencies from serializer-deserializer and multilang-schema-registry modules.
  • Migrate the PutRecordGetRecordExample from AWS SDK v1 Kinesis client to SDK v2 KinesisClient, updating all request/response types and builder patterns accordingly.
  • Replace SDK v1 Regions.getCurrentRegion() with SDK v2 DefaultAwsRegionProviderChain for integration test region resolution, and update Javadoc comments from AWSCredentialsProvider to AwsCredentialsProvider.

Reviewed changes

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pom.xml Remove aws.sdk.v1.version property and aws-java-sdk-kinesis dependency management entry
serializer-deserializer/pom.xml Remove aws-java-sdk-sts (v1) dependency
multilang-schema-registry/pom.xml Remove aws-java-sdk-sts (v1) dependency
examples/pom.xml Switch Kinesis dependency from SDK v1 to SDK v2
examples/.../PutRecordGetRecordExample.java Migrate Kinesis client usage from SDK v1 to SDK v2 with builder patterns
integration-tests/.../GlueSchemaRegistryConnectionProperties.java Replace SDK v1 Regions with SDK v2 DefaultAwsRegionProviderChain
serializer-deserializer/.../AWSKafkaAvroDeserializer.java Update Javadoc from AWSCredentialsProvider to AwsCredentialsProvider
serializer-deserializer/.../GlueSchemaRegistryKafkaDeserializer.java Update Javadoc from AWSCredentialsProvider to AwsCredentialsProvider
serializer-deserializer/.../AWSKafkaAvroDeserializerTest.java Update test comment from AWSCredentialsProvider to AwsCredentialsProvider
serializer-deserializer/.../GlueSchemaRegistryKafkaDeserializerTest.java Update test comment from AWSCredentialsProvider to AwsCredentialsProvider

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@jvdadda jvdadda changed the title Remove AWS SDK v1 version property and dependency management from parent POM [Java] Remove AWS SDK v1 version property and dependency management from parent POM Mar 9, 2026
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.

Completely remove AWS Java SDK v1

3 participants