0
点赞
收藏
分享

微信扫一扫

1 Spring Cloud 如何进行技术选型


Spring Cloud 如何进行技术选型

 
我最近和一些面试的候选人聊,他们会说自己搭建过微服务的应用。这时我会进行追问,您对于微服务搭建技术选型是怎样思考的?问道这个问题很多候选人都开始答非所问了,有的说:跟进自己使用的经验;有的说:跟进公司统一的配置;有的说:这个是其他同事处理的。。。。。。。
 

面对很多候选人的回答,瞬间形象就减分很多,因为这样的回答不是很专业,所以今天写一篇关于微服务选型的文章,这篇文章作为后续微服务专题学习的开始第一张。

大家在面试的时候,回答问题一定要有根有据,这样面试官才会认为你的专业。下面跟大家聊下技术选型的思路。

首先,大家一定要明白一件事情,就是学习一定要以官网为准,可以少走很多弯路。

Spring Cloud: https://spring.io/projects/spring-cloud#learn

1 Spring Cloud 如何进行技术选型_spring

  • RELEASE GA:General Availability,正式发布的版本,官方推荐使用此版本。
  • SNAPSHOT: 快照版,可以稳定使用,且仍在继续改进版本。
  • PRE: 预览版,内部测试版. 主要是给开发人员和测试人员测试和找BUG用的,不建议使用。

选择GA版本这个是官方推荐的,跟着官方走

选择GA版本再查按详情 https://start.spring.io/actuator/info
下面是稳定版本最佳选择方案

{
"git": {
"branch": "7c26bdf60442fcb83869d308a3b7f14336860f1d",
"commit": {
"id": "7c26bdf",
"time": "2022-03-07T16:58:26Z"
}
},
"build": {
"version": "0.0.1-SNAPSHOT",
"artifact": "start-site",
"versions": {
"spring-boot": "2.6.4",
"initializr": "0.13.0-SNAPSHOT"
},
"name": "start.spring.io website",
"time": "2022-03-07T16:59:12.440Z",
"group": "io.spring.start"
},
"bom-ranges": {
"azure": {
"3.2.0": "Spring Boot >=2.3.0.M1 and <2.4.0-M1",
"3.5.0": "Spring Boot >=2.4.0.M1 and <2.5.0-M1",
"3.14.0": "Spring Boot >=2.5.0.M1 and <2.7.0-M1"
},
"codecentric-spring-boot-admin": {
"2.4.3": "Spring Boot >=2.3.0.M1 and <2.5.0-M1",
"2.5.5": "Spring Boot >=2.5.0.M1 and <2.6.0-M1",
"2.6.2": "Spring Boot >=2.6.0.M1 and <2.7.0-M1"
},
"solace-spring-boot": {
"1.1.0": "Spring Boot >=2.3.0.M1 and <2.6.0-M1"
},
"solace-spring-cloud": {
"1.1.1": "Spring Boot >=2.3.0.M1 and <2.4.0-M1",
"2.1.0": "Spring Boot >=2.4.0.M1 and <2.6.0-M1"
},
"spring-cloud": {
"Hoxton.SR12": "Spring Boot >=2.2.0.RELEASE and <2.4.0.M1",
"2020.0.5": "Spring Boot >=2.4.0.M1 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.1",
"2021.0.1": "Spring Boot >=2.6.1 and <2.6.5-SNAPSHOT",
"2021.0.2-SNAPSHOT": "Spring Boot >=2.6.5-SNAPSHOT and <3.0.0-M1",
"2022.0.0-M1": "Spring Boot >=3.0.0-M1 and <3.1.0-M1"
},
"spring-cloud-gcp": {
"2.0.8": "Spring Boot >=2.4.0-M1 and <2.6.0-M1",
"3.1.0": "Spring Boot >=2.6.0-M1 and <2.7.0-M1"
},
"spring-cloud-services": {
"2.3.0.RELEASE": "Spring Boot >=2.3.0.RELEASE and <2.4.0-M1",
"2.4.1": "Spring Boot >=2.4.0-M1 and <2.5.0-M1",
"3.3.0": "Spring Boot >=2.5.0-M1 and <2.6.0-M1",
"3.4.0": "Spring Boot >=2.6.0-M1 and <2.7.0-M1"
},
"spring-geode": {
"1.3.12.RELEASE": "Spring Boot >=2.3.0.M1 and <2.4.0-M1",
"1.4.13": "Spring Boot >=2.4.0-M1 and <2.5.0-M1",
"1.5.10": "Spring Boot >=2.5.0-M1 and <2.6.0-M1",
"1.6.4": "Spring Boot >=2.6.0-M1 and <2.7.0-M1",
"1.7.0-M2": "Spring Boot >=2.7.0-M1 and <3.0.0-M1",
"2.0.0-M1": "Spring Boot >=3.0.0-M1 and <3.1.0-M1"
},
"vaadin": {
"14.8.5": "Spring Boot >=2.1.0.RELEASE and <2.6.0-M1",
"23.0.0": "Spring Boot >=2.6.0-M1 and <2.8.0-M1"
},
"wavefront": {
"2.0.2": "Spring Boot >=2.1.0.RELEASE and <2.4.0-M1",
"2.1.1": "Spring Boot >=2.4.0-M1 and <2.5.0-M1",
"2.2.2": "Spring Boot >=2.5.0-M1 and <2.7.0-M1"
}
},
"dependency-ranges": {
"native": {
"0.9.0": "Spring Boot >=2.4.3 and <2.4.4",
"0.9.1": "Spring Boot >=2.4.4 and <2.4.5",
"0.9.2": "Spring Boot >=2.4.5 and <2.5.0-M1",
"0.10.0": "Spring Boot >=2.5.0-M1 and <2.5.2",
"0.10.1": "Spring Boot >=2.5.2 and <2.5.3",
"0.10.2": "Spring Boot >=2.5.3 and <2.5.4",
"0.10.3": "Spring Boot >=2.5.4 and <2.5.5",
"0.10.4": "Spring Boot >=2.5.5 and <2.5.6",
"0.10.5": "Spring Boot >=2.5.6 and <2.5.9",
"0.10.6": "Spring Boot >=2.5.9 and <2.6.0-M1",
"0.11.0-M1": "Spring Boot >=2.6.0-M1 and <2.6.0-RC1",
"0.11.0-M2": "Spring Boot >=2.6.0-RC1 and <2.6.0",
"0.11.0-RC1": "Spring Boot >=2.6.0 and <2.6.1",
"0.11.0": "Spring Boot >=2.6.1 and <2.6.2",
"0.11.1": "Spring Boot >=2.6.2 and <2.6.3",
"0.11.2": "Spring Boot >=2.6.3 and <2.6.4",
"0.11.3": "Spring Boot >=2.6.4 and <2.6.5-SNAPSHOT",
"0.11.4-SNAPSHOT": "Spring Boot >=2.6.5-SNAPSHOT and <2.7.0-M1"
},
"okta": {
"1.4.0": "Spring Boot >=2.2.0.RELEASE and <2.4.0-M1",
"1.5.1": "Spring Boot >=2.4.0-M1 and <2.4.1",
"2.0.1": "Spring Boot >=2.4.1 and <2.5.0-M1",
"2.1.5": "Spring Boot >=2.5.0-M1 and <2.7.0-M1"
},
"mybatis": {
"2.1.4": "Spring Boot >=2.1.0.RELEASE and <2.5.0-M1",
"2.2.2": "Spring Boot >=2.5.0-M1"
},
"camel": {
"3.5.0": "Spring Boot >=2.3.0.M1 and <2.4.0-M1",
"3.10.0": "Spring Boot >=2.4.0.M1 and <2.5.0-M1",
"3.13.0": "Spring Boot >=2.5.0.M1 and <2.6.0-M1",
"3.15.0": "Spring Boot >=2.6.0.M1 and <2.7.0-M1"
},
"picocli": {
"4.6.2": "Spring Boot >=2.4.0.RELEASE and <2.6.0-M1",
"4.6.3": "Spring Boot >=2.6.0.RELEASE and <3.0.0-M1"
},
"open-service-broker": {
"3.2.0": "Spring Boot >=2.3.0.M1 and <2.4.0-M1",
"3.3.1": "Spring Boot >=2.4.0-M1 and <2.5.0-M1",
"3.4.0-M2": "Spring Boot >=2.5.0-M1 and <2.6.0-M1"
}
}
}
```


举报

相关推荐

0 条评论