Csdn.net/forezp. https://blog.csdn.csdn. In the previous article on Zuul, I mentioned using configuration services to save configuration files for individual services. It is Spring Cloud Config....
Config is also called unified Configuration Center. As the name implies, it is unified configuration management. The benefits of unified configuration management are as follows:...
The framework defines interfaces. Different users have different requirements and therefore need different implementations. SPI is a service discovery mechanism built into the JDK that...
Service registration is to register a service instance to the service registry, and the service provider informs the service registry of its own service information...
The so-called service registry is to put forward a single service in the entire microservice architecture. This service does not complete any business functions of...
Spring Cloud Ribbon and Spring Cloud Hystrix have been used almost simultaneously in practice, and Spring Cloud Feign is a higher-level package that integrates these...
Hystrix monitors SpringCloud's bucket learning objectives in addition to achieving service fault tolerance, Hystrix also provides near-real-time monitoring of service execution results and operating metrics,...
A basic registry needs the following four basic functions: 1. Register service instance information; 2. Heartbeat mechanism; 3. Delete failed service instances. 4. Query service...
Introduction for reading remote (GitHub or code cloud..) Configuration file Example Step Create config-server and config-client Import dependencies. Write configuration files and upload them to...
In the article "OpenFeign and Ribbon Source Code Analysis Summary", we only briefly understand the implementation principle of retry mechanism in the Ribbon. In this...
Microservice architecture. Because there may be many microservices in our distributed cluster environment, it is impossible for us to modify the configuration one by one...
1. You must understand and understand the microservice series 1: Service registration 2: Service unregistration 2. After understanding service registration and anti-registration, it is time...
Introduction To Eureka Server The Eureka Server provides a service registration service. After each node is started, it registers with the Eureka Server
As you can read in this article, you can automatically refresh the microservice configuration by sending a POST request, including all microservices, specifying the microservice,...
1. You must understand and understand microservice series 1: Service registration microservice series 2: Service unregistration Microservice series 3: Service invocation 2 The preface is...
This article shares the implementation principles of Spring Cloud Config and @RefreshScope by reading the source code. We all know that SpringCloud Config Server can...
In the previous article, we introduced the function and design architecture of Nacos. This article focuses on the service registration function provided by Nacos to...
Handle system exceptions Create a Handler package in the Common service Create a unified exception handler class in the Handler Custom exceptions Create an Exception...
Spring Cloud Security provides a number of solutions for building secure SpringBoot applications. Single sign-on can be implemented in conjunction with Oauth2, and its single...
We use gateways for routing, integration of Swagger API documents, global modification of file URIs, unified authentication and authorization, and unified signature verification for open...