Upgrade the Spring Cloud Stream Kinesis binder to 4.0

Proprietary

Kinesis binder 1.x to 3.x bring Spring Cloud AWS 2.x and AWS SDK v1; binder 4.0 is built on AWS SDK v2 and Spring Boot 3. Its lock registry lost the heartbeat period, and its lease duration became a Duration, which reads a bare number as milliseconds where 1.x read seconds.

io.moderne.java.spring.cloud.aws.UpgradeSpringCloudStreamKinesisBinder
mod run . --recipe=io.moderne.java.spring.cloud.aws.UpgradeSpringCloudStreamKinesisBinder

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.