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 ...
随机推荐
- VS发布IIS Express,允许外网调式(如微信开发)
环境 VS2015 IIS Express win10操作系统 natapp内网穿透 localhost && 127.0.0.1 && 本机内网IP 产生现象:VS调 ...
- Py:数据挖掘之对个人微信朋友圈好友的性别、区域、昵称、签名信息进行情感分析——Jason niu
#Py:数据挖掘之对微信朋友圈好友的性别.区域.昵称.签名信息进行情感分析——Jason niu import os import re import csv import time import j ...
- mongo删除指定字段,可多个字段同时删除
参考代码: db.getCollection('Person').update({"email":{$exists:true}},{$unset:{"email" ...
- git 的常用命令(未完待补充)
一.初始化 git git init 这样会默认创建 master 分支 二.查看当前状态 git status 查看 git 的默认状态 三.创建一个文件,并把它添加到 git 仓库,使用 git ...
- 19.3.5日,报关于表单验证和ui-router
今天完成的事情: (1)学习angularJS表单验证 可以验证的内容<input type="text" minlength="2" maxlength ...
- 源自于NEO的KeyValue 数据库面世啦
虽然想把标题取得大一点,但终究不是什么太大不了的工作,还是安分守己的开始介绍吧. 项目组成 这个项目叫做LightDB 由三个部分构成 Lightdb.lib 是对rocksdb做了一层封装, ...
- tf.contrib.slim arg_scope
缘由 最近一直在看深度学习的代码,又一次看到了slim.arg_scope()的嵌套使用,具体代码如下: with slim.arg_scope( [slim.conv2d, slim.separab ...
- iphone 屏蔽系统自动更新,消除设置上的小红点
苹果ios系统的更新频率大家应该都知道,一般来说1个月就会来次更新.这一点让很多人讨厌.主要原因还是iPhone会自动下载更新包,然后一直不停地提示你是否安装更新,问题是我们还找不到关闭提醒和关闭自动 ...
- select2使用小结
做项目考虑到使用的便捷,要用到select2,就研究了一下,做个小结,防止忘记.本文内容是建立在NFine框架上的,使用的MVC三层架构.本人很少写文章,学习的知识也过少,不知道能不能表达准确,如有错 ...
- python学习:for循环
for循环 for i in range(1,4): print("loop:",i) 输出100以内的奇数: for i in range(1,101): if i % 2 == ...