【springCloud】版本学习

Spring Cloud介绍

官网地址:https://spring.io/projects/spring-cloud

Spring Cloud 是一个基于 Spring Boot 的微服务架构解决方案,它提供了一系列工具和模式来帮助开发者构建分布式系统。Spring Cloud 的组件和模式包括配置管理、服务发现、断路器、智能路由、事件总线等,旨在简化微服务的开发和部署。

SpringCloud子项目

经常听到Spring Cloud和Spring CloudAlibaba,还有之前的spring-cloud-netflix。他们到底是什么关系呢。

看下图

|--------------------------------------|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------|
| 名称 | 状态 | 介绍 | 备注 |
| Spring Cloud | 正常 | Spring Cloud 是一个基于 Spring Boot 的微服务架构解决方案,它提供了一系列工具和模式来帮助开发者构建分布式系统。Spring Cloud 的组件和模式包括配置管理、服务发现、断路器、智能路由、事件总线等,旨在简化微服务的开发和部署。 | |
| Spring Cloud Azure | 正常 | Spring Cloud Azure 是 Spring Cloud 的一个子项目,专注于提供与 Microsoft Azure 平台的集成。它使得开发者能够利用 Azure 的服务,如 Azure Cosmos DB、Azure Event Hubs 和 Azure Queue Storage 等,来构建和运行 Spring 应用程序。Spring Cloud Azure 提供了一系列的起步依赖和工具,使得在 Azure 上部署和管理 Spring 应用程序变得更加容易。 | |
| Spring Cloud Alibaba | 正常 | Spring Cloud Alibaba 是另一个 Spring Cloud 的子项目,它整合了阿里巴巴的一些开源技术组件以及阿里云的一些商业化产品。这个项目提供了服务注册与发现、配置管理、消息驱动、服务熔断、限流降级、分布式事务等功能,帮助开发者在微服务架构中实现高效稳定的服务治理。 | |
| Spring Cloud for Amazon Web Services | 正常 | Spring Cloud for Amazon Web Services (AWS) 是一个社区驱动的项目,旨在提供与 AWS 服务的集成。通过这个项目,开发者可以将 Spring 应用程序与 AWS 的各种服务如 EC2、S3、DynamoDB 等无缝集成,从而利用 AWS 提供的云计算资源和服务来构建和运行他们的应用程序。 | |
| spring-cloud-netflix | 维护 | spring-cloud-netflix 是 Spring Cloud 的一个子项目,它包括了与 Netflix 开源软件栈的集成。这个项目提供了 Eureka(服务发现)、Zuul(API 网关)、Ribbon(客户端负载均衡)、Feign(声明式服务客户端)和 Hystrix(断路器)等组件,以支持微服务架构中的服务治理和通信。 | |

Spring Cloud和Spring Boot对应版本

|--------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------|
| Release Train | Spring Boot Generation |
| 2023.0.x aka Leyton | 3.2.x |
| 2022.0.x aka Kilburn | 3.0.x, 3.1.x (Starting with 2022.0.3) |
| 2021.0.x aka Jubilee | 2.6.x, 2.7.x (Starting with 2021.0.3) |
| 2020.0.x aka Ilford | 2.4.x, 2.5.x (Starting with 2020.0.3) |
| Hoxton | 2.2.x, 2.3.x (Starting with SR5) |
| Greenwich | 2.1.x |
| Finchley | 2.0.x |
| Edgware | 1.5.x |
| Dalston | 1.5.x |

SpringCloud和SpringCloudAlibaba组件

|----------|----------------------|--------------------|-------------------------|--------|
| 服务类型 | Spring Cloud(废弃) | Spring Cloud | SpringCloud Alibaba | 备注 |
| 服务注册发现 | Eureka | Consul | Nacos | |
| 服务调用 | feign | OpenFeign | Dubbo | |
| 服务网关 | Zuul | Gateway | | |
| 负载均衡 | Ribbon | LoadBalance | | |
| 配置中心 | Config+Bus | Consul | Nacos | |
| 服务熔断和降级 | Hystrix | Circuit Breaker | Sentinel | |
| 全链路追踪 | Sleuth+Zipkin | Micrometer Tracing | | |
| 分布式事务 | | | Seata | |




相关推荐
J***51682 分钟前
SpringSecurity的配置
java
面汤放盐3 分钟前
软件架构指南 Software Architecture Guide
java·微服务·devops
tkevinjd3 分钟前
JUC5(线程池)
java·线程池·多线程·juc
Tao____4 分钟前
如何对接Modbus-tcp协议(使用Thinlinks物联网平台)
java·物联网·网络协议·tcp/ip·modbus
鱼跃鹰飞8 分钟前
经典面试题:K8S的自动缩扩容和崩溃恢复
java·容器·kubernetes
我的xiaodoujiao13 分钟前
使用 Python 语言 从 0 到 1 搭建完整 Web UI自动化测试学习系列 39--生成 Allure测试报告
python·学习·测试工具·pytest
Coder_Boy_13 分钟前
Spring Boot 事务回滚异常 UnexpectedRollbackException 详解(常见问题集合)
java·spring boot·后端
QiZhang | UESTC13 分钟前
学习日记day53
学习
青云交14 分钟前
Java 大视界 -- 基于 Java+Redis Cluster 构建分布式缓存系统:实战与一致性保障(444)
java·redis·缓存·缓存穿透·分布式缓存·一致性保障·java+redis clus
qq_5710993515 分钟前
学习周报三十
学习