微服务概念
关于微服务的概念,可以看看以下两篇文章
https://www.jianshu.com/p/449c383432cb
https://www.cnblogs.com/imyalost/p/6792724.html
SpringCloud是什么
首先Spring Cloud 是一套完整的微服务解决方案。SpringCloud并不重复造轮子,而是将市面上开发得比较好的组件集成进去,进行封装,从而减少了各模块的开发成本。SpringCloud中各个模块的组件选型可以参考下图(旧版组件选择)

新版组件选型
2020年以后基本使用SpringCloudAlibaba组件替代了旧组件,新的组件选型可以参考下图

SpringCloud以及SpringBoot版本选择
当我们进行微服务的开发时,必须根据SpringCloud的版本来选择SpringBoot的版本,有以下两种方式进行确定。
方式1:
点击Spring官网链接(https://start.spring.io/actuator/info),返回一串Json字符串。里面有SpringCloud对应的SpringBott版本信息。

方式2:
打开SpringCloud官网(https://spring.io/projects/spring-cloud)


网友评论