Spring Cloud版本选择

时间:2019年1月下旬

地点:浙江省杭州市

经查阅:

  Finchley.SR2是Spring Cloud当前最新的一个稳定版本;

  Edgware.SR5是上一个稳定版本。

现对这两个版本做对比:

Edgware.SR5

Finchley.SR2

说明

发布日期

2018年1月

2018年8月

Spring Boot 2.0.x

不兼容

兼容

WebFlux

不支持

支持

webflux是一个完全的reactive并且非阻塞的web框架

Spring Cloud Gateway

新增

基于响应式的下一代API网关,性能大幅提升

JDK最低版本要求

1.7

1.8

Tomcat最低版本要求

7.0

8.5

 

Spring Cloud Sleuth

1.x

2.x

分布式链路监控

Spring Cloud Config

1.x

2.x

分布式配置中心

 

Spring Cloud Security

1.x

2.x

分布式安全认证

 

总结:

  1、Finchley.SR2最大的优势是支持webflux,轻松开发高效的响应式的功能应用(监控显示、即使通信等)。

  2、相对于Edgware,Finchley对大部分外围模块都进行了优化升级,全新项目建议使用Spring Cloud Finchley.SR2版本。

猜你喜欢

转载自www.cnblogs.com/wangliaohan/p/10438451.html