Spring Cloud是一个基于Spring Boot的微服务框架,用于构建和管理分布式系统的各个组件。它提供了一套完整的解决方案,包括服务注册与发现、配置管理、负载均衡、熔断器、消息总线、数据流等功能。
SpringCloud2022为当前Spring Cloud的最新版本迭代,基于Spring6和Springboot3以后的版本研发。因此开发选择SpringCloud的版本也就对应的选择了Springboot和Spring的版本。
基于SpringCloud2022版本的demo项目,项目名称为 banana
。
- 注册中心: Spring Cloud Zookeeper
- 网关: Spring Cloud Gateway
- 云服务配置: Spring Cloud Config
- 熔断: Sentinel
- 服务追踪: Micrometer Tracing
- 测试集成: Junit5(Spring boot test)
- 远程调用: OpenFeign
- 接口文档: springdoc-openapi (openapi3)
- 分布式事务: Seata
- 00-参考资料
- 01-SpringCloud2022依赖版本选择
- 02-SpringCloud2022组件选型
- 03-项目搭建之父工程配置
- 04-项目搭建之注册中心
- 05-项目搭建之配置中心
- 06-项目搭建之远程调用openfeign
- 07-项目搭建之微服务网关gateway
- 08-项目搭建之OpenAPI3接口文档管理
- 09-项目搭建之熔断Sentinel单体服务
名称 | 说明 |
---|---|
idea ce | java服务开发工具 |
vs code | 文档编写工具 |
git | 版本控制系统 |
- Spring Cloud 官网 - https://spring.io/projects/spring-cloud
- Spring Cloud 教程Bilibili - https://www.bilibili.com/video/BV18E411x7eT
- 《重新定义SpringCloud实战》