Spring Cloud Greenwich 正式发布,Hystrix 即将寿终正寝。。
Spring Cloud Greenwich 正式版在 01/23/2019 这天正式发布了,下面我们来看下有哪些更新内容。
生命周期终止提醒
Spring Cloud Edgware
Edgware 版本将于 08/01/2019 正式退役,具体可以参考官方宣布:
https://spring.io/blog/2018/07/30/spring-cloud-edgware-eol-aug-1st-2019
Spring Cloud Finchley
Finchley 版本作为 Spring Boot 2.0.x 的主要版本,Finchley 的生命周期也会由 Spring Boot 2.0.x 版本的终止而终止。
Spring Cloud Greenwich
Greenwich 版本现在作为一个次要版本,它后续将继续支持 Spring Boot 2.x 的发布支持。
分不清这些版本的区别和意义?可以参考栈长之前写的关于版本的文章:
Spring Cloud 多版本怎么选择?。
Greenwich 重大更新
兼容JDK
这个最新版本的发布最重要的一点是,所有的子项目都兼容 Java 11。
新项目
1、Spring Cloud GCP
提供对 Google Cloud Platform 的集成。
2、Spring Cloud Kubernetes
提供对 Kubernetes 的集成。
Spring Cloud Netflix 进入维护模式
最近,Netflix 宣布 Netflix 进入维护模式:《Hystrix 停止开发。。。Spring Cloud 何去何从?》,Ribbon 自 2016 年以来也一直处于类似的状态,尽管它们已经进入维护模式,但它们在 Netflix 内部已经大规则部署应用。
另外,Hystrix Dashboard 和 Turbine 已经被 Atlas 取代,这两个项目最后一次的代码提交分别是 2 年前和 4 年前了。Zuul 1 和 Archaius 1 也已经被后续的版本取代,不再向后续版本兼容。
以下 Spring Cloud Netflix 模块及相应启动器将进入维护模式:
- spring-cloud-netflix-archaius
- spring-cloud-netflix-hystrix-contract
- spring-cloud-netflix-hystrix-dashboard
- spring-cloud-netflix-hystrix-stream
- spring-cloud-netflix-hystrix
- spring-cloud-netflix-ribbon
- spring-cloud-netflix-turbine-stream
- spring-cloud-netflix-turbine
- spring-cloud-netflix-zuul
这些并不包括 Eureka 或者 concurrency-limits 模块。
什么是维护模式?
这些个项目进入维护模式后,Spring Cloud 团队也不会往这些模块添加新功能了,但是还是会修复一些 bug 及安全漏洞,也会考虑和审查来自社区的小规模拉取请求。
Spring Cloud Greenwich 版本在这些维护模式的项目上至少会支持 1 年。
有什么替换方案?
官方推荐了以下替代方案,也许在不久的将来,或者下一个大版本这些替代方案会成为主流项目。
| 目前的 | 可替换 |
|---|---|
| Hystrix | Resilience4j |
| Hystrix Dashboard / Turbine | Micrometer + Monitoring System |
| Ribbon | Spring Cloud Loadbalancer |
| Zuul 1 | Spring Cloud Gateway |
| Archaius 1 | Spring Boot external config + Spring Cloud Config |
这个版本除了以上重大更新,还有一些子项目的版本更新、问题修复等,这里就不详细分析了,大家有兴趣的可以去看官方发布博文:
https://spring.io/blog/2019/01/23/spring-cloud-greenwich-release-is-now-available
如果你也在使用 Spring Cloud 搭建微服务,可以关注Java技术栈微信公众号,在后台回复关键字:spring,栈长整理了一系列 boot/ cloud 技术文章,都是干货。
本文原创首发于微信公众号:Java技术栈(id:javastack),关注公众号在后台回复 "spring" 可获取更多,转载请原样保留本信息。
Spring Cloud Greenwich 正式发布,Hystrix 即将寿终正寝。。的更多相关文章
- spring cloud(Greenwich.M2) hystrix dashboard 报/actuator/hystrix.stream 404 Not Found的问题
consumer端不引用spring-boot-starter-actuator的情况 Consumer端会报Unable to connect to Command Metric Stream.新建 ...
- Spring Cloud Hoxton正式发布,Spring Boot 2.2 不再孤单
距离Spring Boot 2.2.0的发布已经有一个半月左右时间,由于与之匹配的Spring Cloud版本一直没有Release,所以在这期间碰到不少读者咨询的问题都是由于Spring Boot和 ...
- Spring Cloud入门教程-Hystrix断路器实现容错和降级
简介 Spring cloud提供了Hystrix容错库用以在服务不可用时,对配置了断路器的方法实行降级策略,临时调用备用方法.这篇文章将创建一个产品微服务,注册到eureka服务注册中心,然后我们使 ...
- Spring Cloud 入门 之 Hystrix 篇(四)
原文地址:Spring Cloud 入门 之 Hystrix 篇(四) 博客地址:http://www.extlight.com 一.前言 在微服务应用中,服务存在一定的依赖关系,如果某个目标服务调用 ...
- Spring Cloud Greenwich 新特性和F升级分享
2019.01.23 期待已久的Spring Cloud Greenwich 发布了release版本,作为我们团队也第一时间把RC版本替换为release,以下为总结,希望对你使用Spring Cl ...
- Spring Cloud Greenwich.SR4 发布了,跟不上了……
前几天 Spring Cloud Greenwich.SR4 发布了: https://spring.io/blog/2019/11/19/spring-cloud-greenwich-sr4-rel ...
- 1. Spring Cloud Greenwich SR2 概览
Spring Cloud provides tools for developers to quickly build some of the common patterns in distribut ...
- Spring Cloud Feign 整合 Hystrix
在前面随笔Spring Cloud 之 Feign的feign工程基础上进行改造 1.pom.xml依赖不变 2.application.yml文件添加feign.hystrix.enabled=tr ...
- Spring Cloud Ribbon 整合 Hystrix
在前面随笔 Spring Cloud 之 Ribbon 的ribbon工程基础上进行改造 1.pom.xml 加入依赖 <dependency> <groupId>org.sp ...
随机推荐
- buildah---github简单记录
github里着重讲了buildah和podman的区别: buildah对标的是dockerfile的脚本化代替执行. podman对标的是docker命令的代替. gihub地址: https:/ ...
- 日期时间选择器、Bootstrap日期和时间表单组件。bootstrap-datetimepicker实现年月日,时分秒的选择。
参考链接:http://www.bootcss.com/p/bootstrap-datetimepicker/ 1.官网以及很详细的说明了如何使用,这里结合一下自己的使用来写下. 下载解压缩包以后,可 ...
- [转] 以 async/await 为例,说明 babel 插件怎么搭
你一定碰到过这些库 babel-polyfill 项目地址:https://github.com/babel/babel/blob/master/packages/babel-polyfill 通过两 ...
- 为什么MySQL数据库要用B+树存储索引?
小史:树的话,无非就是前中后序遍历.二叉树.二叉搜索树.平衡二叉树,更高级一点的有红黑树.B 树.B+ 树,还有之前你教我的字典树. 红黑树 一听到红黑树,小史头都大了,开始抱怨了起来. 小史:红黑树 ...
- .Net Core小技巧 - Swagger适配虚拟目录及二级目录
前言 随着前后端分离模式与微服务架构的出现,Web API变得越来越重要及普遍.而后出现的网关技术,使开发者更倾向于使用二级/多级目录来暴露Web API,一是暴露的端口更少,方便管理:二是在网关中可 ...
- 关于spring aop Advisor排序问题
关于spring aop Advisor排序问题 当我们使用多个Advisor的时候有时候需要排序,这时候可以用注解org.springframework.core.annotation.Order或 ...
- aliyun install Discourse log
apt update apt install wget wget -qO- https://get.docker.com/ | sh vim /etc/default/docker DOCKER_OP ...
- 异步简析之BlockingCollection实现生产消费模式
目前市面上有诸多的产品实现队列功能,比如Redis.MemCache等... 其实c#中也有一个基础的集合类专门用来实现生产/消费模式 (生产模式还是建议使用Redis等产品) 下面是官方的一些资料和 ...
- UOJ#104. 【APIO2014】Split the sequence 动态规划 斜率优化
原文链接www.cnblogs.com/zhouzhendong/p/UOJ104.html 题解 首先证明一个结论:对于一种分割方案,分割的顺序不影响最终结果. 证明:对于树 a[x] 和 a[y] ...
- Currency Exchange POJ - 1860 (spfa判断正环)
Several currency exchange points are working in our city. Let us suppose that each point specializes ...