Spring Integration for AWS 3.0.0-M2 and Spring Cloud Stream Kinesis Binder 4.0.0-M1 Available

Releases | Artem Bilan | March 27, 2023 | ...

Dear Spring community,

Today I'm excited to share with you news that Spring Integration extension project for AWS and AWS Kinesis Binder for Spring Cloud Stream have finally been moved to AWS Java SDK v2, their respective milestones 3.0.0-M2 & 4.0.0-M1 are available from Spring Milestone repository.

I cannot tell that this was a pleasant work to do because it has turned to be not just a plain dependencies upgrade and namespace renaming. The whole AWS SDK API was changed to more modern Java style, including CompletableFuture composition and Stream API, lambda-style configuration, generated builders etc. They have even Reactive Streams support! Some options have been removed and some added. So, even if Spring Integration channel adapters are high enough API for end-users, they still suffered many breaking changes with these new generations.

Some highlights of these milestone:

  • Of course, first of all the latest AWS SDK 2.20.32
  • Upgrades to Spring Cloud AWS 3.0.0 with its new SQS listener API
  • XML configuration removal. Right, this is unusual for Spring backwards compatibility, but Spring Cloud AWS did that already and there is no any Spring Cloud projects providing and XML support.
  • Our own DynamoDbLockRegistry implementation with a proper TTL support.
  • KCL channel adapter now relies on a new Enhanced Fan-Out Consumer.
  • All outbound channel adapters are async by default and leverage a CompletableFuture support from their super AbstractMessageProducingHandler class.
  • The Glue Schema support has been exposed in KCL and KPL channel adapters.
  • The Kinesis Binder does not support DynamoDB Streams Adapter any more. There is no its implementation for SDK v2 and general AWS recommendation is to use Kinesis enabled on the table to captures data changes.

See READMEs of these projects on GitHub for more information.

We are probably going to GA in a couple weeks, so don't hesitate to give them a try and come back with any feedback or contribution!

Cheers, 
Artem

Project Page | GitHub Issues | Contributing | Help | Chat

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all