aws / aws-sdk-java-v2

The official AWS SDK for Java - Version 2
Apache License 2.0
2.15k stars 827 forks source link

Feature Request: Spring integration for AWS #2369

Open millems opened 3 years ago

millems commented 3 years ago

There are numerous overlaps between the features that Spring exposes and AWS provides. For example, we could integrate any number of the various AWS databases with spring-data.

spring-cloud-aws currently provides some functionality but it only supports the AWS SDK for Java 1.11.x, and there are a lot more integrations that could be made.

Please thumbs-up this feature if you're interested in better Spring integration for AWS. Comments on which specific integrations you are interested it would also be useful.

Some initial research found the following opportunities:

Spring Feature Use Case AWS Services
Spring Cloud Gateway Microservices API Gateway, Lambda
Spring Cloud Functions Microservices Lambda
Spring Data Data Access RDS, DynamoDB, MongoDB, ElastiCache, ...
Spring Integration Service Integration SQS, SNS, EventBridge, Kinesis, ...
Spring Cloud Stream and Spring Cloud Bus Microservices EventBridge, Kinesis
Spring Cloud Config and Spring Cloud Vault Service Configuration SSM
Spring Cloud Kubernetes Microservices EKS
Spring Cloud Security AuthN / AuthZ SSO, Cognito
Spring Cloud Sleuth Traceability X-Ray, CloudWatch
Spring Cloud Task Short-Lived Microservices CodeBuild, EKS, Beanstalk, ...
Spring Statemachine Microservices StepFunctions
eddumelendez commented 3 years ago

@millems great to see this! just let me clarify that currently the project has moved on to https://github.com/awspring/spring-cloud-aws and we are currently working on moving to sdk v2 in branch 3.0.x. Besides the current support (ssm - parameterstore, secretsmanager, ses, sqs, sns, s3, cognito) we are planning to add a couple of more integrations such as cloudmap and appconfig. Also, there is already a kinesis integration https://github.com/spring-cloud/spring-cloud-stream-binder-aws-kinesis. The team and I would be glad to work with you together on this.

millems commented 3 years ago

@eddumelendez Thanks for the comment! I've updated the project link. We're still working on prioritizing this on the AWS side. Creating this forum for people to express their desire for this feature is one of the steps we're taking.

eddumelendez commented 3 years ago

btw, I have created #2371 and #2372 in order to add some improvements in our current s3 support.