Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring-Cloud-AWS vs AWS-SDK-Java 2

Ours is a Spring-Boot based application. For integration with AWS SNS and SQS, we have couple of options:

  1. Use Spring-Cloud-AWS
  2. Use AWS-SDK-Java 2

I wanted to know if there is any advantage in using one or the other.

When I ask AWS guys, they tell me that AWS SDK gets updated regularly and integration with SNS and SQS is not difficult. Hence, there is no need to integrate with Spring-Cloud-AWS.

I tried searching on gitter channel for Spring-Cloud and could not find any relevant information. Documentation does state that I can update the AWS-SDK version. Documentation does not state any compelling reason for not using AWS-SDK directly.

If anyone has some insights, please share.

like image 238
Khurram Haroon Avatar asked May 31 '26 12:05

Khurram Haroon


1 Answers

From the AWS Spring Team:

"From now on, our efforts focus on 3.0 - based on AWS SDK 2.0."

So, if you need AWS SDK 2.0, you probably want to go directly with the SDK.

https://spring.io/blog/2021/03/17/spring-cloud-aws-2-3-is-now-available

For more on what's new on AWS Java SDK 2.0: https://aws.amazon.com/blogs/developer/aws-sdk-for-java-2-0-developer-preview/

like image 134
Adan Amarillas Avatar answered Jun 02 '26 03:06

Adan Amarillas



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!