• 一、Spring Cloud概述


      SpringCloud是基于SpringBoot的一整套实现微服务的框架。它提供了微服务开发所需的配置管理、服务发现、断路器、智能路由、微代理、控制总线、全局锁、决策竞选、分布式会话和集群状态管理等组件。最重要的是,基于SpringBoot,会让开发微服务架构非常方便。

    一、Springboot版本选择

    git源码地址:https://github.com/spring-projects/spring-boot/releases/
    官网:https://spring.io/projects/spring-boot
    中文参考手册:https://www.springcloud.cc/spring-boot.html#executable-jar-alternatives

      通过上面官网发现,Spring Boot官方强烈建议你升级到2.X以上版本

    二、SpringCloud版本选择

    git源码地址:https://github.com/spring-projects/spring-cloud/wiki
    官网:https://spring.io/projects/spring-cloud
    Spring Cloud中文文档:https://www.bookstack.cn/read/spring-cloud-docs/docs-index.md
    • Cloud命名规则:Spring Cloud采用了英国伦敦地铁站的名称来命名,并且由地铁站名称字母A-Z形式来发布迭代版本。
    • springboot(截至2020.2.15)

    三、Cloud和Boot之间的依赖关系

    {
        "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.SR6": "Spring Boot >=2.1.0.RELEASE and <2.1.17.BUILD-SNAPSHOT",
          "Greenwich.BUILD-SNAPSHOT": "Spring Boot >=2.1.17.BUILD-SNAPSHOT and <2.2.0.M4",
          "Hoxton.SR8": "Spring Boot >=2.2.0.M4 and <2.3.4.BUILD-SNAPSHOT",
          "Hoxton.BUILD-SNAPSHOT": "Spring Boot >=2.3.4.BUILD-SNAPSHOT and <2.4.0.M1",
          "2020.0.0-M3": "Spring Boot >=2.4.0.M1 and <=2.4.0.M1",
          "2020.0.0-SNAPSHOT": "Spring Boot >=2.4.0.M2"
        }

      本文档的组件版本选择

    cloudHoxton.SR1
    boot 2.2.2.RELEASE
    cloud Alibaba 2.1.0.RELEASE
    java JAVA8
    maven 3.5及以上 下载地址: https://archive.apache.org/dist/maven/maven-3/
    mysql 5.7及以

    四、Cloud 各种组件的停更/升级/替换

  • 相关阅读:
    centos6.4下django1.11.3项目的部署
    inner join和left join 、right join 的区别?
    php中的对象赋值
    windows下Call to undefined function curl_init() error问题
    include和require的区别误区
    第一车网笔试题
    借贷宝笔试题
    40斤西瓜3人分,求分法
    走楼梯算法
    ip地址分类
  • 原文地址:https://www.cnblogs.com/jdy1022/p/14293587.html
Copyright © 2020-2023  润新知