Spring Cloud Alibaba是Spring Cloud的子項目,是來自阿里巴巴的、符合Spring Cloud規範的一套解決方案。自Spring Cloud Alibaba發佈第一個Release以來,就備受國內開發者的高度關注。雖然Spring Cloud Alibaba還沒能納入Spring Cloud的主版本管理中,但是憑藉阿里中間件團隊的背景,還是得到不少團隊的支持;同時,Spring Cloud第一代的解決方案中,不少核心組件來自於Netfllix捐獻的開源項目,但是時至今日,已經有不少核心組件停止維護或者閉源了。
目前,國內已經有不少公司和IT團隊正基於Spring Cloud Alibaba構建微服務應用。
下面是Spring Cloud Nacos演示項目對應的源代碼:
- Spring Cloud微服務應用使用Nacos實現服務註冊與發現
- Spring Cloud微服務應用使用Nacos作為配置中心
- 基於Nacos實現Spring Cloud Gateway基本服務路由
- 基於Nacos實現Spring Cloud Gateway 動態網關路由
Github下載URL:
https://github.com/rickiechina/SpringCloudAlibaba-In-Practice/tree/master/nacos-examples
下面是Sentinel 演示項目對應的源代碼:
- Sentinel 分佈式系統的流量防衛兵-快速入門
- Sentinel Dashboard 可視化控制檯的部署、啟動和演示
- Spring Cloud Alibaba Sentinel+Feign+Nacos實現負載均衡、流量控制
Github下載URL:
https://github.com/rickiechina/SpringCloudAlibaba-In-Practice/tree/master/sentinel-examples
閱讀更多 軟件架構 的文章