This repository has been archived by the owner on Jul 16, 2024. It is now read-only.
1.1.0 Release Notes
RSocket Broker 1.1基于RSocket Java 1.1.0和Spring Boot 2.4.x开发,紧跟当前最新的技术,但是alibaba-rsocket-spring-boot-starter还是兼容Spring Boot 2.3.x的,Broker Server则调整为基于Spring Boot 2.4.x版本开发,主要是性能等方面的要求。
特性调整
- RSocket Java升级到1.1.0
- Spring Boot 2.4.x升级支持
- RSocket Broker Server支持Java 8,11和16
- RSocket Broker Server添加Testcontainers支持: https://github.com/alibaba-rsocket-broker/testcontainers-rsocket-broker-module
- Scalecube cluster升级至2.6.9:支持最新最新的Reactor Netty 1.0.x
- Docker镜像的基础镜像调整为adoptopenjdk:8-jdk-hotspot
- Kubernetes支持:快速部署RSocket Broker,同时应用接入Broker也更方便,已经比较稳定。
- Graceful shutdown支持: Broker Server和应用均支持Graceful shutdown,在application.properties文件中添加
server.shutdown=graceful
即可 - GraalVM native image兼容GraalVM 21.1.0
- Config Server推送添加了Redis的适配
- RSocket Broker集群变更推送添加幂等支持: 也就是应用接入端会每2分钟和Broker同步一次,拿取最新的Broker集群信息
- RSocket Broker Server的Docker镜像编译调整到Buildpacks,Paketo Buildpacks对Spring Boot支持更好
文档
- RSocket Broker测试支持: https://github.com/alibaba/alibaba-rsocket-broker/wiki/RSocket-Testing
- RSocket Broker Kubernetes: https://github.com/alibaba/alibaba-rsocket-broker/wiki/RSocket-Kubernetes
样例
- RSocket Broker和Protobuf/gRPC开发支持: https://github.com/alibaba-rsocket-broker/rsocket-protobuf-service
- RSocket Broker和Kotlin开发支持: https://github.com/alibaba-rsocket-broker/alibaba-broker-kotlin-example
- 添加创建RSocket Broker应用模板: https://github.com/tgm-templates/rsocket-broker-example
- example模块添加user-service-spring-boot-starter,更方便第三方Spring Boot应用调用服务