springcloud alibaba

系统架构

1、Spring Cloud Alibaba ReadMe

https://github.com/alibaba/spring-cloud-alibaba/blob/master/README-zh.md

简介

如何引入依赖

如果需要使用已发布的版本,在 dependencyManagement 中添加如下配置。

<dependencyManagement>
    <dependencies>
        <dependency>
            <groupId>com.alibaba.cloud</groupId>
            <artifactId>spring-cloud-alibaba-dependencies</artifactId>
            <version>2.2.0.RELEASE</version>
            <type>pom</type>
            <scope>import</scope>
        </dependency>
    </dependencies>
</dependencyManagement>

2、Nacos注册中心

https://nacos.io/zh-cn/docs/quick-start.html
https://github.com/alibaba/nacos
https://github.com/alibaba/spring-cloud-alibaba/blob/master/spring-cloud-alibaba-examples/nacos-example/nacos-discovery-example/readme-zh.md




3、Feign



4、Nacos Config

https://github.com/alibaba/spring-cloud-alibaba/blob/master/spring-cloud-alibaba-examples/nacos-example/nacos-config-example/readme-zh.md

通过配置文件application.properties存取配置







配置分组


加载多配置集




posted @ 2020-05-11 18:31  xidianzxm  阅读(440)  评论(0编辑  收藏  举报