zoukankan      html  css  js  c++  java
  • 一、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 各种组件的停更/升级/替换

  • 相关阅读:
    Python的优点和缺点
    如何在sed中使用变量方法及其简单
    shell脚本练习,创建数据文件注册用户并将用户信息存入文件内,用于模拟登录时使用
    shell脚本常用参数与格式
    运维方向和运维需要掌握的基本面
    linux系统awk命令精解
    数组去重方式
    原生js封装cookie获取、设置及删除
    sublime 浏览器快捷键设置
    background-image实现border效果及多图png如何实现background-size为原图一半
  • 原文地址:https://www.cnblogs.com/jdy1022/p/14293587.html
Copyright © 2011-2022 走看看