[{"createTime":1735734952000,"id":1,"img":"hwy_ms_500_252.jpeg","link":"https://activity.huaweicloud.com/cps.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=V1g3MDY4NTY=&utm_medium=cps&utm_campaign=201905","name":"华为云秒杀","status":9,"txt":"华为云38元秒杀","type":1,"updateTime":1735747411000,"userId":3},{"createTime":1736173885000,"id":2,"img":"txy_480_300.png","link":"https://cloud.tencent.com/act/cps/redirect?redirect=1077&cps_key=edb15096bfff75effaaa8c8bb66138bd&from=console","name":"腾讯云秒杀","status":9,"txt":"腾讯云限量秒杀","type":1,"updateTime":1736173885000,"userId":3},{"createTime":1736177492000,"id":3,"img":"aly_251_140.png","link":"https://www.aliyun.com/minisite/goods?userCode=pwp8kmv3","memo":"","name":"阿里云","status":9,"txt":"阿里云2折起","type":1,"updateTime":1736177492000,"userId":3},{"createTime":1735660800000,"id":4,"img":"vultr_560_300.png","link":"https://www.vultr.com/?ref=9603742-8H","name":"Vultr","status":9,"txt":"Vultr送$100","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":5,"img":"jdy_663_320.jpg","link":"https://3.cn/2ay1-e5t","name":"京东云","status":9,"txt":"京东云特惠专区","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":6,"img":"new_ads.png","link":"https://www.iodraw.com/ads","name":"发布广告","status":9,"txt":"发布广告","type":1,"updateTime":1735660800000,"userId":3},{"createTime":1735660800000,"id":7,"img":"yun_910_50.png","link":"https://activity.huaweicloud.com/discount_area_v5/index.html?fromacct=261f35b6-af54-4511-a2ca-910fa15905d1&utm_source=aXhpYW95YW5nOA===&utm_medium=cps&utm_campaign=201905","name":"底部","status":9,"txt":"高性能云服务器2折起","type":2,"updateTime":1735660800000,"userId":3}]
<>Spring Cloud 2020.0.0发布
北京时间2020-12-22深夜,Spring Cloud 2020.0.0版本正式发布。2020.0.0是第一个使用新版本方案的Spring
Cloud发行版本。
我们知道之前Spring Cloud版本命名都是使用伦敦地铁名来命名。
<>Spring Cloud 与 Spring Boot版本对应关系
Release Train发布时间Spring Boot版本SC Commons版本
2020.0.x2020-122.4.x3.0.0
Hoxton2019-072.2.x, 2.3.x (从SR5起)2.2.x
Greenwich2018-112.1.x2.1.x
Finchley2017-102.0.x2.0.x
Edgware2017-081.5.x1.3.x
Dalston2017-051.5.x1.2.x
Brixton2016-091.3.x1.1.x
Angel2016-051.2.x1.0.x
<>阻断式升级(不向下兼容)
<>再见了,Netflix
时至今日,Spring Cloud 2020.0正式发布,在这个主要版本里,按既定计划终于对spring-cloud-netflix动刀了。我帮你画了幅
spring-cloud-netflix-dependencies的xml文件前后版本主要差异的对比图,一目了然:
* spring-cloud-netflix-dependencies没有消失哦,它依旧存在,版本号跟随大部队升级为3.0.x版本
* 旧版本的spring-cloud-netflix-dependencies
管理着Netflix所有组件,包括Hystrix、Ribbon、Zuul、Eureka等。而自2020.0版本起,
它有且只管理Eureka(包括Server和Client)
其中Feign虽然最初属Netflix公司,但从9.x版本开始就移交给OpenFeign组织管理了,因此不再划入Netflix管辖范畴。
简单一句话概括:Spring Cloud 2020.0.0版本彻底删除掉了Netflix除Eureka外的所有组件。
<>Netflix组件替代方案
Spring Cloud既然把Netflix OSS套件大刀阔斧的砍掉了,那总归得有替代方案吧。那是必然的,Spring
Cloud团队给我们推荐了用于替代的产品:
Netflix推荐替代品说明
HystrixResilience4jHystrix自己也推荐你使用它代替自己
Hystrix Dashboard / TurbineMicrometer + Monitoring System说白了,监控这件事交给更专业的组件去做
RibbonSpring Cloud Loadbalancer忍不住了,Spring终究亲自出手
Zuul 1Spring Cloud Gateway忍不住了,Spring终究亲自出手
Archaius 1Spring Boot外部化配置 + Spring Cloud配置比Netflix实现的更好、更强大