多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
SpringBoot专注于快速方便的开发单个个体微服务。 <br/> SpringCloud是关注全局的微服务协调整理治理框架,它将SpringBoot开发的一个个单体微服务整合并管理起来,为各个微服务之间提供,配置管理、服务发现、断路器、路由、微代理、事件总线、全局锁、决策竞选、分布式会话等等集成服务。 <br/> SpringBoot可以离开SpringCloud独立使用开发项目,但是<mark>SpringCloud离不开SpringBoot</mark>,属于依赖的关系。 <br/> <mark>SpringBoot专注于快速、方便的开发单个微服务个体,SpringCloud关注全局的服务治理框架</mark>。 <br/> SpringCloud与SpringBoot对应选择版本可以如下查看: (1)查看官网 https://spring.io/projects/spring-cloud 。 | Cloud Version | Boot Version | | --- | --- | | 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 | (2)或者访问 https://www.json.cn/json/jsononline.html 。 ```json { ... "spring-cloud":{ "Hoxton.SR12":"Spring Boot >=2.2.0.RELEASE and <2.4.0.M1", "2020.0.4":"Spring Boot >=2.4.0.M1 and <2.5.7-SNAPSHOT", "2020.0.5-SNAPSHOT":"Spring Boot >=2.5.7-SNAPSHOT and <2.6.0-M1", "2021.0.0-M1":"Spring Boot >=2.6.0-M1 and <2.6.0-M3", "2021.0.0-M3":"Spring Boot >=2.6.0-M3 and <2.6.0-RC1", "2021.0.0-RC1":"Spring Boot >=2.6.0-RC1 and <2.6.0-SNAPSHOT", "2021.0.0-SNAPSHOT":"Spring Boot >=2.6.0-SNAPSHOT" }, ... } } ```