二、微服务开发框架--SpringCloud

Spring Cloud特点

1.约定优于配置。
2.适用于各种环境。
3.隐藏了组件地复杂性,并提供声明式、无xml的配置方式。
4.开箱即用,快速启动。
5.轻量级的组件。例如:Eureka、Zuul,等等
6.组件丰富,功能齐全。例如:配置管理、服务发现、断路器、微服务网关等。
7.选型中立,丰富。
8.灵活。开发人员可按需灵活挑选技术选型。

Spring Cloud/Spring Boot版本兼容性

  • Angel版本基于Spring Boot 1.2.x构建,与Spring Boot 1.3.x及以上版本不兼容
  • Brixton版本基于Spring Boot 1.3.x构建,与Spring Boot 1.2.x不兼容
  • Camden版本基于Spring Boot 1.4.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。