Spring Cloud 概述

一、Spring Cloud 架构

Spring Cloud 是分布式微服务架构的一站式解决方案,是多种微服务架构落地技术的集合体,俗称微服务全家桶。

image.png

image.png

服务注册与发现

服务调用

服务熔断

服务降级

负载均衡

服务消息队列

配置中心管理

服务网关

服务监控

全链路追踪

自动化构建部署

服务定时任务调度操作

二、版本选型

Spring Cloud 与 Spring Boot 存在一定的版本对应关系。

2.1 获取对应版本

访问:https://start.spring.io/actua...

"spring-cloud": {
    "Finchley.M2": "Spring Boot >=2.0.0.M3 and <2.0.0.M5",
    "Finchley.M3": "Spring Boot >=2.0.0.M5 and <=2.0.0.M5",
    "Greenwich.M1": "Spring Boot >=2.1.0.M3 and <2.1.0.RELEASE",
    "Greenwich.SR5": "Spring Boot >=2.1.0.RELEASE and <2.1.15.BUILD-SNAPSHOT",
    "Greenwich.BUILD-SNAPSHOT": "Spring Boot >=2.1.15.BUILD-SNAPSHOT and <2.2.0.M4",
    "Hoxton.SR4": "Spring Boot >=2.2.0.M4 and <2.3.0.BUILD-SNAPSHOT",
    "Hoxton.BUILD-SNAPSHOT": "Spring Boot >=2.3.0.BUILD-SNAPSHOT"
},
"spring-cloud-alibaba": {
    "2.2.0.RELEASE": "Spring Boot >=2.2.0.RELEASE and <2.3.0.M1"
},

2.2 推荐版本

名称 版本
Cloud Hoxton.SR1
Boot 2.2.2.RELEASE
Cloud Alibaba 2.1.0.RELEASE
Java Java8
Maven 3.5及以上
MySql 5.7及以上

三、停更、升级、替换

image.png

官方文档

1、Spring Cloud 中文文档
2、Spring Cloud 英文文档

评论

暂无评论