
在springboot學習后,了解到springboot是一種技術
springcloud是一攬子微服務的解決方案
https://www.cnblogs.com/ukzq/p/11124786.html SpringCloud分布式系統的演進.
https://www.cnblogs.com/ukzq/p/10358946.html 什么是SpringCloud.
https://www.cnblogs.com/ukzq/p/11422887.html 在IDEA編輯器中建立Spring Cloud的子項目包(構建微服務).
https://www.cnblogs.com/ukzq/p/11473929.html 趨勢投資tz-proj springcloud (vue redis).
感覺只是上手做過幾個demo,還是有些不能完全理解微服務
eureka已經停更,要不使用dubbo-zookeeper,要不使用nacos

Do you know when you speak less your thoughts spring.
微服務架構是一種架構模式,它提倡將單一應用程序划分成一組小的服務,服務之間互相協調,互相配合,為用戶提供最終價值.
每個服務運行在其獨立的進程中,服務與服務間采用輕量級的通信機制互相協作(通常是基於HTTP協議的RESTful API),每個
服務都圍繞着具體業務進行構建,並且能夠被獨立地部署到生產環境,類生產環境等.另外,應當盡量避免統一的,集中式的服務
管理機制,對具體的一個服務而言,應根據業務上下文,選擇合適的語言,工具對其進行構建.


p3:指定springboot,springcloud的版本


強烈推薦升級2.0以后

起步支持java 8,也支持java 9

截至2020-03-07,springboot最新版本為 2.2.5
但不一定要用最新的版本
springcloud 的 github 已經不維護
springcloud版本是根據英國地鐵站A,B,C....H開頭來命名

現在的最新版本 H打頭版本
GA:General Availability,正式發布的版本,官方推薦使用此版本。在國外都是用GA來說明release版本的。
PRE: 預覽版,內部測試版. 主要是給開發人員和測試人員測試和找BUG用的,不建議使用;
SNAPSHOT: 快照版,可以穩定使用,且仍在繼續改進版本
如果你的springcloud是H版,那么springboot必須是2.2.x開始
准確技術選型:
https://start.spring.io/actuator/info
復制json到格式化
{ "git": { "commit": { "time": "2020-03-04T08:56:03Z", "id": "2e0a39b" }, "branch": "2e0a39bd17a9b775c359a0aa1d0eb685a7a3325a" }, "build": { "version": "0.0.1-SNAPSHOT", "artifact": "start-site", "name": "start.spring.io website", "versions": { "initializr": "0.9.0.BUILD-SNAPSHOT", "spring-boot": "2.2.5.RELEASE" }, "group": "io.spring.start", "time": "2020-03-04T08:57:12.160Z" }, "bom-ranges": { "azure": { "2.0.10": "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE", "2.1.7": "Spring Boot >=2.1.0.RELEASE and <2.2.0.M1", "2.2.0": "Spring Boot >=2.2.0.M1" }, "codecentric-spring-boot-admin": { "2.0.6": "Spring Boot >=2.0.0.M1 and <2.1.0.M1", "2.1.6": "Spring Boot >=2.1.0.M1 and <2.2.0.M1", "2.2.1": "Spring Boot >=2.2.0.M1" }, "spring-cloud": { "Finchley.M2": "Spring Boot >=2.0.0.M3 and <2.0.0.M5", "Finchley.M3": "Spring Boot >=2.0.0.M5 and <=2.0.0.M5", "Finchley.M4": "Spring Boot >=2.0.0.M6 and <=2.0.0.M6", "Finchley.M5": "Spring Boot >=2.0.0.M7 and <=2.0.0.M7", "Finchley.M6": "Spring Boot >=2.0.0.RC1 and <=2.0.0.RC1", "Finchley.M7": "Spring Boot >=2.0.0.RC2 and <=2.0.0.RC2", "Finchley.M9": "Spring Boot >=2.0.0.RELEASE and <=2.0.0.RELEASE", "Finchley.RC1": "Spring Boot >=2.0.1.RELEASE and <2.0.2.RELEASE", "Finchley.RC2": "Spring Boot >=2.0.2.RELEASE and <2.0.3.RELEASE", "Finchley.SR4": "Spring Boot >=2.0.3.RELEASE and <2.0.999.BUILD-SNAPSHOT", "Finchley.BUILD-SNAPSHOT": "Spring Boot >=2.0.999.BUILD-SNAPSHOT and <2.1.0.M3", "Greenwich.M1": "Spring Boot >=2.1.0.M3 and <2.1.0.RELEASE", "Greenwich.SR5": "Spring Boot >=2.1.0.RELEASE and <2.1.14.BUILD-SNAPSHOT", "Greenwich.BUILD-SNAPSHOT": "Spring Boot >=2.1.14.BUILD-SNAPSHOT and <2.2.0.M4", "Hoxton.SR1": "Spring Boot >=2.2.0.M4 and <2.2.6.BUILD-SNAPSHOT", <這里看到H版本SR1對應的springboot版本為大於2.2.0.M小於2.2.6.BUILD-SNAPSHOT "Hoxton.BUILD-SNAPSHOT": "Spring Boot >=2.2.6.BUILD-SNAPSHOT and <2.3.0.M1" }, "spring-cloud-alibaba": { "2.2.0.RELEASE": "Spring Boot >=2.2.0.RELEASE and <2.3.0.M1" }, "spring-cloud-services": { "2.0.3.RELEASE": "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE", "2.1.6.RELEASE": "Spring Boot >=2.1.0.RELEASE and <2.2.0.RELEASE", "2.2.1.RELEASE": "Spring Boot >=2.2.0.RELEASE and <2.3.0.M1" }, "spring-data-r2dbc": { "0.1.0.M3": "Spring Boot >=2.2.0.M6 and <2.2.6.BUILD-SNAPSHOT", "0.1.0.BUILD-SNAPSHOT": "Spring Boot >=2.2.6.BUILD-SNAPSHOT" }, "spring-statemachine": { "2.0.0.M4": "Spring Boot >=2.0.0.RC1 and <=2.0.0.RC1", "2.0.0.M5": "Spring Boot >=2.0.0.RC2 and <=2.0.0.RC2", "2.0.1.RELEASE": "Spring Boot >=2.0.0.RELEASE" }, "vaadin": { "10.0.17": "Spring Boot >=2.0.0.M1 and <2.1.0.M1", "14.1.18": "Spring Boot >=2.1.0.M1" } }, "dependency-ranges": { "okta": { "1.2.1": "Spring Boot >=2.1.2.RELEASE and <2.2.0.M1", "1.4.0": "Spring Boot >=2.2.0.M1" }, "mybatis": { "2.0.1": "Spring Boot >=2.0.0.RELEASE and <2.1.0.RELEASE", "2.1.1": "Spring Boot >=2.1.0.RELEASE" }, "geode": { "1.2.5.RELEASE": "Spring Boot >=2.2.0.M5 and <2.3.0.M1", "1.3.0.M2": "Spring Boot >=2.3.0.M1 and <2.3.0.BUILD-SNAPSHOT", "1.3.0.BUILD-SNAPSHOT": "Spring Boot >=2.3.0.BUILD-SNAPSHOT" }, "camel": { "2.22.4": "Spring Boot >=2.0.0.M1 and <2.1.0.M1", "2.24.3": "Spring Boot >=2.1.0.M1 and <2.2.0.M1", "3.1.0": "Spring Boot >=2.2.0.M1" }, "solace": { "3.1.0": "Spring Boot >=2.1.0.RELEASE and <2.2.0.M1", "3.2.0": "Spring Boot >=2.2.0.M1" } } }
區間還是要選擇,還是看官方推薦的

點擊Reference Doc

springcloud對應boot版本一目了然
