领先一步
VMware 提供培训和认证,助您加速进步。
了解更多我们很高兴地宣布 Spring Cloud Stream Fishtown 发布线的第一个里程碑版本 - Fishtown.M1/2.1.0.M1。
Spring Cloud Stream Fishtown 2.1.0.M1 可在 Spring Milestone 仓库中使用。 发布说明 包含有关与 Spring Boot、Spring Cloud、Spring AMQP 和 Spring for Apache Kafka 的版本兼容性相关的信息。
以下部分简要总结了此版本中包含的功能和改进。
ListenerContainerCustomizer bean 的实现来支持 Message Listener 容器定制。spring.cloud.stream.default.contentType=text/plain
spring.cloud.stream.default.producer.partitionCount=1
spring.cloud.stream.bindings.output.producer.partitionCount=4
在上面,所有绑定的默认内容类型设置为 text/plain。此外,所有生产者绑定的 partitionCount 设置为 1,除了 output 目标绑定,其设置为 4。
KafkaStreamsStateStore [kafka streams 绑定器]QueryableStoreRegistry 已被弃用,并提供了一个名为 InteractiveQueryService 的新 API。除了提供查询 state stores 的能力外,此 API 还提供有关消费者运行所在主机的信息。各种其他增强功能和错误 修复
再次感谢所有社区贡献者!!!
注意
如果应用程序是从 Spring Initializr 创建的,它们需要在 spring-cloud BOM 声明之前,在 maven 依赖管理中添加此 BOM 代码片段
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream-dependencies</artifactId>
<version>Fishtown.M1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
M2 计划在七月底发布,将主要包含新的绑定功能以及与 Spring Cloud Function 的集成
一如既往,我们欢迎反馈和贡献,因此请通过 Stackoverflow 或 GitHub 或 Gitter 与我们联系。