四、Spring Cloud Alibaba介绍

一、什么是Spring Cloud Alibaba?

1、Spring Cloud的子项目
2、致力于微服务开发的一站式解决方案
①包含了微服务开发的基本组件
②基于Spring Cloud,符合Spring Cloud的标准
③阿里的微服务解决方案

二、Spring Cloud Alibaba的主要功能

在这里插入图片描述

三、版本与兼容性

1、Spring Cloud版本命名

在这里插入图片描述
在这里插入图片描述
Spring Cloud是一个伞形项目,由独立的项目组成,这些项目在原则上有不同的发布周期。 为了管理投资组合,一个BOM与一组对单个项目的依赖关系一起发布。为了避免与子项目混淆发行列车的名称,而不是版本。这些名字是按字母顺序排列的(所以你可以按时间顺序排序),伦敦地铁站的名字(“Angel”是第一个版本,“Brixton”是第二个版本)。 当各个项目的点发布累积到一定数量时,或者其中一个关键错误需要所有人使用时,发布系列将推出名称以“ .SRX”结尾的“服务版本”, 其中“ X”是数字。

2、Spring Cloud生命周期

3、版本兼容性

在这里插入图片描述
Spring Cloud Alibaba孵化成功后
在这里插入图片描述
生产环境如何选择版本?

  • 坚决不使用不稳定版本/end-of-life
  • 尽量使用最新一代

四、为项目整合Spring Cloud Alibaba

添加Spring Cloud和Spring Cloud Alibaba相关依赖

	<dependencyManagement>
        <dependencies>
            <!--整合Spring Cloud-->
            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-dependencies</artifactId>
                <version>Greenwich.SR1</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <!--整合Spring Cloud Alibaba-->
            <dependency>
                <groupId>org.springframework.cloud</groupId>
                <artifactId>spring-cloud-alibaba-dependencies</artifactId>
                <version>0.9.0.RELEASE</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
        </dependencies>
    </dependencyManagement>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值