image.png

1.2 Spring Cloud 和 Spring Boot的版本选择

  1. <dependencyManagement>
  2. <dependencies>
  3. <dependency>
  4. <groupId>org.springframework.cloud</groupId>
  5. <artifactId>spring-cloud-dependencies</artifactId>
  6. <version>Finchley.SR4</version>
  7. <type>pom</type>
  8. <scope>import</scope>
  9. </dependency>
  10. <dependency>
  11. <groupId>org.springframework.boot</groupId>
  12. <artifactId>spring-boot-dependencies</artifactId>
  13. <version>2.0.8.RELEASE</version>
  14. <scope>import</scope>
  15. <type>pom</type>
  16. </dependency>
  17. </dependencies>
  18. </dependencyManagement>

1.3 Spring Cloud 微服务开发所涉及的中间件

  1. zookeeper
  2. Redis
  3. Eureka
  4. Spring Cloud Config
  5. Zuul
  6. Nginx/OpenResty

    1.4 Spring Cloud微服务开发和自验证环境

    1.5 crazy-springcloud微服务开发脚手架

    image.png
    image.png

1.6 以秒杀作为Spring Cloud + Nginx的实战案例