领先一步
VMware 提供培训和认证来加速您的进步。
了解更多亲爱的 Spring 社区!
我很高兴地宣布,支持 Amazon Web Services 的 Spring 项目的第一个候选发布版本:Amazon Web Services: Spring Integration for AWS 2.0.0.RC1
和 Spring Cloud Stream Binder for AWS Kinesis 1.0.0.RC1
。
这两个工件都可以在 Spring 里程碑 存储库中找到,它们可以作为 Maven 依赖项使用
<dependency>
<groupId>org.springframework.integration</groupId>
<artifactId>spring-integration-aws</artifactId>
<version>2.0.0.RC1</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream-binder-kinesis</artifactId>
<version>1.0.0.RC1</version>
</dependency>
当使用第二个时,不需要包含第一个。 AWS Kinesis 和 AWS DynamoDB Java SDK 依赖项也为 AWS Kinesis Binder 传递性地包含。 现在,AWS DynamoDB Lock Client 也包含在 leader 选举中。
非常感谢社区的贡献和任何反馈,特别是感谢在实际项目中测试这些产品的帮助。
以下是自之前宣布的 Milestone 2 以来的更改
添加了 DynamoDbLockRegistry
实现,用于基于 AWS DynamoDB Lock Client 基础的分布式锁定。
现在可以为 KinesisMessageDrivenChannelAdapter
提供 LockRegistry
,并在使用之前对分片进行独占访问。 这样,我们可以确保组中只有一个使用者从其感兴趣的分片中读取记录。 当一个使用者离开(放弃领导权)时,其他一些使用者可能会获得分片锁并继续从存储的检查点使用。
Spring Integration AWS 项目中各种组件中的一些其他错误修复和改进。
Kinesis Binder 现在为用于 binder 使用者的底层 DynamoDbLockRegistry
公开了配置属性。
Kinesis Binder 项目中也完成了一些其他修复。
与往常一样,欢迎通过适当的沟通渠道提供任何反馈、功能想法、批评、错误报告和问题!
我们的目标是在一周左右的时间内发布 GA 版本。
Spring Integration AWS 项目页面 | Spring Cloud Stream Binder for AWS Kinesis 项目页面 | 帮助 | 聊天