Spring Cloud Getting Started - Summary articles (Hoxton version)

Spring Cloud project used to Hoxton version, Spring Boot version is 2.2.2.RELEASE

Brief introduction

Spring Cloud is an ordered collection of a series of frames. The purpose is to coordinate the various micro-services to simplify the development of distributed systems. Here to do a summary of knowledge about Spring Cloud, core components include Spring Cloud, Spring Cloud Alibaba and distributed transaction Seata, use the version Spring Cloud Hoxton and SpringBoot 2.2.x.

Scenarios

Registry

The main registration center for service management, provides a registration and discovery services, micro-services architecture services can be registered to the registry, you can also get the information to other services through the registration center. Here are the Eureka, Consul, Nacos three solutions.

Configuration Center

Configuration Center is mainly used to provide a unified external configuration management, micro-service architecture, services can obtain configuration information from the configuration center, while supporting dynamic refresh configuration. Here are the Spring Cloud Config, Consul, Nacos three solutions.

Services Gateway

Gateway API for external access to the main entrance to provide a unified micro-services architecture services, and routing and filtering requests. Here Zuul and Gateway provides two solutions.

Service call

Some of the micro-service architecture service will deploy multiple, Ribbon provides a client load balancing between service calls, OpenFeign based Ribbon provides an inter-declarative service call.

And current-limiting fuse

And limiting fuse is a protection against micro-service architecture services, when a fault occurs in the system, you can prevent the spread of the fault. Here are a Hystrix and Sentinel are two solutions.

safety protection

Spring Cloud Security to provide security for the construction of SpringBoot use a range of solutions, combined with Oauth2 can achieve single sign-on, security services and other functions, can be well protected micro-services architecture services.

monitoring Center

Spring Boot Admin combined with the use of registry Spring Cloud services can be used to monitor micro-architecture services.

Distributed Transaction solve

Micro-service architecture, when operating a business operation requires multiple data sources or the need for long-distance calls will have a distributed transaction issues, Seata can solve the problem.

table of Contents

No. content link address
1 Spring Cloud Getting Started - ten minutes to understand Spring Cloud https://blog.csdn.net/ThinkWon/article/details/103715146
2 Spring Cloud Getting -Eureka service registration and discovery (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103726655
3 Spring Cloud Getting -Ribbon service consumer (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103729080
4 Spring Cloud Getting -Hystrix breaker (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103732497
5 Spring Cloud -Hystrix Dashboard Getting started with Turbine breaker monitoring (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103734664
6 Spring Cloud Getting -OpenFeign service consumer (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103735751
7 Spring Cloud Getting -Zuul Services Gateway (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103738851
8 Spring Cloud Getting -Config distributed configuration center (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103739628
9 Spring Cloud Getting -Bus message bus (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103753372
10 Spring Cloud service entry -Sleuth link tracking (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103753896
11 Spring Cloud Getting -Consul discovery and configuration service registration center (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103756139
12 Spring Cloud Getting -Gateway Services Gateway (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103757927
13 Spring Cloud Getting -Admin service monitoring center (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103758697
14 Spring Cloud entry -Oauth2 unauthorized use (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103761687
15 Spring Cloud Getting -Oauth2 authorized by JWT integrated (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103763364
16 Spring Cloud-based JWT authorized entry -Oauth2 complete single sign-on (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103766368
17 Spring Cloud Getting -Nacos implementation of the registration and distribution center (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103769680
18 Spring Cloud service entry -Sentinel implement current limiting, fuse and downgrades (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103770879
19 Spring Cloud Getting -Seata distributed transaction processing issues (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103786102
20 Spring Cloud Getting Started - Summary articles (Hoxton version) https://blog.csdn.net/ThinkWon/article/details/103786588

Project structure

This tutorial is supporting 30 Demo, Demo each has been carefully tested to ensure perfectly run!

springcloud-learning
├── eureka-server -- eureka注册中心
├── eureka-security-server -- 带登录认证的eureka注册中心
├── eureka-client -- eureka客户端
├── user-service -- 提供User对象CRUD接口的服务
├── ribbon-service -- ribbon服务调用测试服务
├── hystrix-service -- hystrix服务调用测试服务
├── turbine-service -- 聚合收集hystrix实例监控信息的服务
├── hystrix-dashboard -- 展示hystrix实例监控信息的仪表盘
├── feign-service -- feign服务调用测试服务
├── zuul-proxy -- zuul作为网关的测试服务
├── config-server -- 配置中心服务
├── config-security-server -- 带安全认证的配置中心服务
├── config-client -- 获取配置的客户端服务
├── consul-config-client -- 用于演示consul作为配置中心的consul客户端
├── consul-user-service -- 注册到consul的提供User对象CRUD接口的服务
├── consul-service -- 注册到consul的ribbon服务调用测试服务
├── api-gateway -- gateway作为网关的测试服务
├── admin-server -- admin监控中心服务
├── admin-client -- admin监控中心监控的应用服务
├── admin-security-server -- 带登录认证的admin监控中心服务
├── oauth2-server -- oauth2授权测试服务
├── oauth2-jwt-server -- 使用jwt的oauth2授权测试服务
├── oauth2-client -- 单点登录的oauth2客户端服务
├── nacos-config-client -- 用于演示nacos作为配置中心的nacos客户端
├── nacos-user-service -- 注册到nacos的提供User对象CRUD接口的服务
├── nacos-ribbon-service -- 注册到nacos的ribbon服务调用测试服务
├── sentinel-service -- sentinel功能测试服务
├── seata-order-service -- 整合了seata的订单服务
├── seata-storage-service -- 整合了seata的库存服务
└── seata-account-service -- 整合了seata的账户服务

project address

Think of this project to help small partners can 点个Starsupport the next!

GitHub project source address

Published 213 original articles · won praise 2317 · Views 150,000 +

Guess you like

Origin blog.csdn.net/ThinkWon/article/details/103786588