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 各种组件的停更/升级/替换

  • 相关阅读:
    Java 动态编译
    在ubuntu 18.04下,无线网卡无驱动,连不上wifi,显示wifi没有适配器的解决方法
    由浅入深了解Thrift(1,2,3)
    Docker系列05:docker镜像制作 &Docker file
    Docker系列04:docker数据存储
    Docker系列03:docker网络
    关于在github上 下载源码 clone 非 master 分支的代码
    CentOS 6 & 7 忘记root密码的修改方法
    Windows RDP远程连接CentOS 7
    Windows 上用IntelliJ Idea调试百度大数据分析框架Apache Doris FE
  • 原文地址:https://www.cnblogs.com/jdy1022/p/14293587.html
Copyright © 2011-2022 走看看