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

Viewed 1786

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.

2 Answers

The main advantage over the AWS Java SDK is the Spring style convenience and head start we get by using the Spring project. As per the project documentation (https://cloud.spring.io/spring-cloud-aws/reference/html/##using-amazon-web-services)

Using the SDK, application developers still have to integrate the SDK into their application with a considerable amount of infrastructure related code. Spring Cloud AWS provides application developers already integrated Spring-based modules to consume services and avoid infrastructure related code as much as possible.

Related