Spring cloud赶在2020年最后几天发布了新版本,版本号取名为2020.0.0,取消了英国地铁的命名方式。从H版本之后,全新的命名为2020.x.x。马上快2021年了,为毛不取名为2021 ,哈哈。

从maven仓库可知,当前版本为2020.0.2,

版本关系

Release Train Boot Version spring cloud alibaba version
2020.0.x aka Ilford 2.4.x 2021.1
Hoxton 2.2.x, 2.3.x (Starting with SR5) 2.2.x
Greenwich 2.1.x 2.1.x
Finchley 2.0.x 2.0.x
Edgware 1.5.x 1.5.x
Dalston 1.5.x 1.5.x

产品变化

spring cloud最大的变化就是移除了spring cloud netflix模块,仅仅包括了eureka模块。

As announced, the following modules have been removed from spring-cloud-netflix:

  • spring-cloud-netflix-archaius
  • spring-cloud-netflix-concurrency-limits
  • spring-cloud-netflix-core
  • spring-cloud-netflix-dependencies
  • spring-cloud-netflix-hystrix
  • spring-cloud-netflix-hystrix-contract
  • spring-cloud-netflix-hystrix-dashboard
  • spring-cloud-netflix-hystrix-stream
  • spring-cloud-netflix-ribbon
  • spring-cloud-netflix-sidecar
  • spring-cloud-netflix-turbine
  • spring-cloud-netflix-turbine-stream
  • spring-cloud-netflix-zuul
  • spring-cloud-starter-netflix-archaius
  • spring-cloud-starter-netflix-hystrix
  • spring-cloud-starter-netflix-hystrix-dashboard
  • spring-cloud-starter-netflix-ribbon
  • spring-cloud-starter-netflix-turbine
  • spring-cloud-starter-netflix-turbine-stream
  • spring-cloud-starter-netflix-zuul

既然把Netflix组件remove掉了,那么需要有替代方案,Spring Cloud团队给我们推荐了用于替代的产品:

Netflix 推荐替代品 说明
Hystrix Resilience4j 、sentinel 建议使用sentinel
Hystrix Dashboard / Turbine Micrometer + Monitoring System\sentinel dashboard
Ribbon Spring Cloud Loadbalancer 建议使用sentienl dashboard spring 自己的产品
Zuul 1 Spring Cloud Gateway spring自己的产品
Archaius 1 Spring Boot外部化配置 + Spring Cloud配置 比Netflix实现的更好、更强大

其他变化

默认情况下,不再启用spring-cloud-commons提供的Bootstrap。 如果您的项目需要它,则可以通过属性或新的启动器重新启用它。

要通过属性重新启用,请设置spring.cloud.bootstrap.enabled = true或spring.config.use-legacy-processing = true。

另一个选择是包括新的spring-cloud-starter-bootstrap。
已为Config Server,Consul,Zookeeper和Vault添加了对新的Spring Boot spring.config.import语法的支持。 仍支持配置不同服务的现有属性,但需要将它们放在application.properties或application.yml中。

  • spring.config.import=configserver:
  • spring.config.import=consul:
  • spring.config.import=zookeeper:
  • spring.config.import=vault:

之前若要禁用Spring Cloud Config Client端的健康指示用的是health.config.enabled=false,现改为management.health.config.enabled=false。保持了和Spring Boot控制端点风格一致
带有无效字符(破折号)的端点id已经改为符合标准的了,自此启动时再也没有讨厌的警告了,拯救洁癖者。

  • bus-env -> busenv
  • bus-refresh -> busrefresh
  • service-registry -> serviceregistry

总结

此次2020年版本的spring cloud 最大的变化是移除了netflix组件,只保留了eureka组件。很多网友吐槽,刚学会spring cloud netflix还没有上生产,现在又要升级了。技术迭代确实比较快,但技术都是相通的,需要花点时间梳理下。本次我将为大家带来一个全新的Springcloud 2020版本的教程。先上一下教程的总体架构图。

参考资料

https://blog.csdn.net/f641385712/article/details/111595426

https://github.com/alibaba/spring-cloud-alibaba/releases/tag/2020.0.RC1

https://spring.io/blog/2021/03/18/spring-cloud-2020-0-2-aka-ilford-is-available
https://spring-cloud-alibaba-group.github.io/github-pages/hoxton/zh-cn/index.html

https://spring.io/blog/2020/12/22/spring-cloud-2020-0-0-aka-ilford-is-available

SpringCloud 2020版本教程0:springcloud 2020版本概述相关推荐

  1. ADS2020linux版本安装,Advanced Design System ADS 2020 Update 2.0 独立安装版本

    ADS 2020 Update 2.0 新特性 老wu这里分享的 Advanced Design System ADS 2020 Update 2.0 虽然带个Update字样,但这不是补丁,是完全独 ...

  2. lingo变量无限制版本_Quicker 0.10.7 版本发布

    提示:此版本包含一些收费版本功能的预览,这些功能在开始收费后将不再免费提供,敬请谅解. 增加支持侧键激活 多面板支持+翻页扩展.主机绑定.链接面板[收费版本功能] 支持对单个Exe创建多个面板或多个全 ...

  3. gateway集成nacos、loadbalancer实现自定义负载均衡器,带源码解析(cloud版本:2021.0.3|boot版本:2.7.4)[场景1:灰度发布(金丝雀发布)]

  4. apache 版本_Apache Hudi 0.5.1版本重磅发布

    历经大约3个月时间,Apache Hudi 社区终于发布了0.5.1版本,这是Apache Hudi发布的第二个Apache版本,该版本中一些关键点如下 版本升级 将Spark版本从2.1.0升级到2 ...

  5. TIM怎么更新版本 TIM检查更新版本教程

    TIM是非常好用的软件,与传统的QQ比起来比较轻便,简洁大方,今天小编教大家怎样TIM检查更新. TIM检查更新版本教程 首先,打开TIM,如下图所示,TIM是这个图标,如果在metro界面,就是第二 ...

  6. 尚硅谷2020最新版周阳SpringCloud(H版alibaba)框架开发教程 学习笔记

    前言:今天看到周阳老师出了新课,十分欣喜,很喜欢周阳老师的讲课风格,内容也充实,我也算是周阳老师忠实粉丝啦. 新出的springcloud第二版很符合我现阶段的学习需求.但美中不足的是,目前只有视频资 ...

  7. 速成视频教程集锦|疯狂模渲大师正式版——折叠版从第A到O章节,本套教程在2020年6月1日之后将成为又一个旧版本教程,以后是图文

    找各种软件.办公.装机帮助手册--点击进入引申热文--各行业软件大全更新中[19年11月"一设计群"整理] 第三章3.6节:3dmax杀毒解决问题安全卫士--疯狂模渲大师镶嵌版使用 ...

  8. 最好用的Redis Desktop Manager 0.9.3 版本下载 以及源码编译教程

    文章目录 一.前言 二.编译教程 2.1 [redis destop manager 的源码地址](https://github.com/uglide/RedisDesktopManager) 2.2 ...

  9. SpringCloud 面试题,最新SpringCloud 面试题,2020 SpringCloud 面试题

    最近我一直在面试高级工程师,不管初级,高级,程序员,我想面试前,大家刷题一定是是少不了吧. 我也一样,我在网上找了很多面试题来看,最近又赶上跳槽的高峰期,好多粉丝,都问我要有没有最新面试题,索性,我就 ...

最新文章

  1. 没有地图也能导航?DeepMind用街景来认路
  2. 免费使用谷歌GPU训练神经网络
  3. 廖雪峰Python教程-笔记
  4. 是否应该饮用酵素和自制的葡萄酒
  5. 为github帐号添加SSH keys
  6. 16张图带你吃透高性能 Redis 集群
  7. js限制input输入
  8. oracle判断日期字符串格式,如何测试日期格式字符串是否为Oracle中的有效日期格式字符串...
  9. 【机器学习系列】MCMC第三讲:理解MCMC前必先弄懂这两点
  10. 鸿蒙不支持PDF,华为鸿蒙 HarmonyOS IoT 应用设计文档(1).pdf
  11. 飞飞键盘鼠标连点器v1.0绿色版
  12. 2020.10.30文献1:《滇中引水工程香炉山隧洞地应力特征及其活动构造响应》
  13. 毕业设计--20200301--domoticz的智能家居设备---esp8266(micropython)+MQTT 做一个可控开关
  14. mac鼠标滚轮 触控板_如何在Mac上为滚轮而不是触摸板禁用自然滚动
  15. MTK9652处理器怎么样
  16. 怎么在html文件中写css文件,html头文件中css怎么写?
  17. Kafka-我发的消息都发到哪儿去了?
  18. String 类 TRYTRY
  19. n-gram详细介绍
  20. [转]修复windows的启动项:MBRFix工具

热门文章

  1. 站长选择广告联盟的建议:比较谷歌Adsense、百度联盟、阿里妈妈
  2. (精品)基于Spingboot vue的HIS医院门诊信息系统设计与实现 毕业论文+项目源码及数据库文件
  3. ieee33节点潮流,可接入分布式电源
  4. 山东科技大学32位嵌入式SoC安全家电网关芯片--ORSoC流片测试成功
  5. 1D CNN+2D CNN+3D CNN
  6. mysql计算年增长率
  7. 居家养老服务内容有哪些,居家养老系统大屏展示
  8. 互联网是如何运作的和5G
  9. 【Shader】热扭曲实现刀光特效
  10. 浅谈android手机客户端开发