文章目錄
Spring Cloud 簡介
Spring Cloud 是在 Spring Boot 基礎上構建的,用於快速構建分佈式系統的通用模式的工具集。
雲原生
雲原生可以簡單的理解爲面向雲環境的軟件架構。
Spring Cloud 就屬於雲原生架構,適合在 Docker 或者 Paas 上部署。
Spring Cloud 的特點
- 約定優於配置
- 適用於各種環境。雖然說Spring Cloud 是雲原生的,但是其並非必須部署在 Docker 環境,而是可以像普通的服務一樣部署。
- 隱藏了組件的複雜性,並提供聲明式、無 XML 的配置方式。
- 開箱即用,快速啓動。
- 組件豐富,功能齊全。
- 輕量級組件。
- 低耦合。開發人員可以自由選擇技術選型,由於 Spring Cloud 組件都是輕量級的,給系統提供了極大的靈活性。
Spring Cloud 的版本
不同於一般的只是使用數字表示版本,Spring Cloud的版本劃分出了很多分支,直接使用了英文字母名稱——倫敦地鐵站的名稱。
主要版本名稱
- Angel(已停止維護)
- Brixton(已停止維護)
- Camden
- Dalston
- Edgware
- Finchley
各版本自身的演化版本
- RELSASE ,主版本,即穩定版本
- SR ,即Service Release,表示 Bug 修復
- SNAPSHOT ,即不穩定版本
Spring Cloud/Spring Boot 版本兼容性
- Angel ,基於 Spring Boot 1.2.x,某些場景不兼容 1.3.x及以上
- Brixton ,基於Spring Boot 1.3.x,不兼容 Spring Boot 1.2x
- Camden ,基於 Spring Boot1.4.x,也可以使用 1.5.x 測試
- Dalston ,基於Spring Boot 1.5.x,不兼容 Spring Boot 2.0.x
- Edgware ,基於Spring Boot 1.5.x,不兼容 Spring Boot 2.0.x
- Finchley,基於Spring Boot 2.0.x,不兼容 Spring Boot 1.x
參考鏈接
[1]、《Spring Cloud 與 Docker》