1、github
https://github.com/yezhimincxvxb/springcloud
2、简介
Spring Cloud是一系列框架的有序集合。它利用Spring Boot的开发便利性巧妙地简化了分布式系统基础设施的开发,如服务发现注册、配置中心、消息总线、负载均衡、断路器、数据监控等,都可以用Spring Boot的开发风格做到一键启动和部署。
3、版本兼容
Springboot:2.0.X << === >> Springcloud:Finchley.RELEASE
Springboot:2.1.X << === >> Springcloud:Greenwich.RELEASE
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.6.RELEASE</version>
<relativePath/>
</parent>
<groupId>com.yzm</groupId>
<artifactId>springcloud</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<name>springcloud</name>
<description>Demo project for Spring Boot</description>
<modules>
<!-- 注册中心 -->
<module>eureka-server</module>
<module>eureka-server-hi</module>
<!-- ribbon -->
<module>ribbon-ha</module>
<module>ribbon-hi</module>
<!-- feign -->
<module>feign-ha</module>
<module>feign-hi</module>
<!-- zuul -->
<module>zuul</module>
<!-- 配置中心 -->
<module>config-server</module>
<module>config-client</module>
<!-- 服务追踪 -->
<module>zipkin-ha</module>
<module>zipkin-hi</module>
<!-- 服务监控 -->
<module>dashboard-ha</module>
<module>dashboard-hi</module>
<module>dashboard-turbine</module>
<!-- gateway -->
<module>gateway-ha</module>
<module>gateway-hi</module>
<module>gateway-route</module>
<module>gateway-filter</module>
<module>gateway-predicate</module>
<module>gateway-limit</module>
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
<version>2.5.0</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.SR2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
</plugins>
</build>
</project>
相关链接
SpringCloud学习系列之服务注册
SpringCloud学习系列之Ribbon服务
SpringCloud学习系列之Feign服务
SpringCloud学习系列之Zuul网关
SpringCloud学习系列之Config配置
SpringCloud学习系列之Zipkin服务追踪
SpringCloud学习系列之Dashboard服务监控
SpringCloud学习系列之Gateway路由、断言
SpringCloud学习系列之Gateway过滤器
SpringCloud学习系列之Gateway熔断、限流