[Hoxton.SR1 version] detailed explanation of Filter in Spring Cloud Gateway

catalogue 1, Introduction 2, Detailed explanation of commonly used Gateway Filter 3, Custom filter 4, Custom filter factory 5, Summary 1, Introduction In the last article, we introduced the Gateway Predicate in detail. Let's take a look at the description of the Predicate on the official website: the Predicate assertion determines which ...

Posted by turdferguson on Sat, 21 May 2022 07:03:25 +0300

The service Gateway of Spring Cloud integrates Swagger components

Spring Cloud's service gateway gateway (II) integrates Swagger components summary Swagger is a visual API testing tool, which can effectively build powerful Restful API documents and save interface document management If the code is modified, the API document will be updated in real time And it can partially replace Postman to debug the inte ...

Posted by Gomesh on Tue, 17 May 2022 11:37:00 +0300

SpringCloud is bound to have the most knowledge (beautiful version)

Why Learn Spring Cloud With more and more business in project development, high coupling between functions, low development efficiency, slow system operation, difficult to maintain and unstable. Microservices Architecture can solve these problems, and Spring Cloud is the most popular implementation of micro-service architecture. 1. ...

Posted by skizzay on Tue, 03 May 2022 20:13:49 +0300

A simple request forwarding gateway can be used as a middle office gateway. Don't spray if you don't like it

Project address: https://github.com/lcy19930619/api-center Overall design idea: The forwarding gateway needs to be divided into the following five parts 1. Client On the gateway, all requests need to be forwarded to each real service, so the gateway is the client. Considering the forwarding performance of the client, we directly use weblux ...

Posted by j115 on Mon, 02 May 2022 07:27:45 +0300

Spring cloud tutorial - GateWay gateway component

catalogue summary Introductory case Routing configuration Filter configuration Custom filter Global filter Local filter hystrix setting in GateWay Set Ribbon in GateWay Cross domain problems in GateWay High availability of GateWay The difference between GateWay and Feign summary GateWay is a GateWay application. The role of the G ...

Posted by SQL Advanced on Sun, 01 May 2022 09:39:34 +0300

Saul source code read websocket admin synchronization

1. Introduction to synchronization process This is a flow chart sorted out in the process of reading the source code, which is the source code analysis flow chart of websocket synchronization strategy and soul admin. Next, let's introduce them one by one. Initial exploration of DataSyncConfiguration @Configuration public class DataSyncConf ...

Posted by ragnis12 on Wed, 27 Apr 2022 03:50:58 +0300

Soul gateway source code learning (11) - load balancing of Http proxy: DividePlugin and spring cloudplugin

preface In the last article Plugl Gateway - souct10 In, we analyze the template abstraction class AbstractSoulPlugin of the plug-in. The AbstractSoulPlugin #executor method mainly abstracts the acquisition and filtering processes of PluginData, SelectorData and Rule, and passes them as parameters to the subclass method doexector for use. ...

Posted by brownka on Wed, 27 Apr 2022 03:48:02 +0300

Soul source code reading fuse

At the beginning of this article, let's explore the support of soul for fuse. Soul supports a total of three mainstream fuse implementations, namely hystrix, sentinel and resilience4j. Start with hystrix. Fuse A common component in distributed system is similar to the fuse at the physical level. When the current exceeds the specified value fo ...

Posted by mcccy005 on Mon, 25 Apr 2022 17:49:18 +0300

Actual combat and principle analysis of Spring - Spring Cloud Gateway

API gateway The reason for the emergence of API gateway is the emergence of micro service architecture. Different micro services generally have different network addresses, and external clients may need to call the interfaces of multiple services to complete a business requirement. If the client is allowed to communicate directly with each mic ...

Posted by Tyco on Mon, 25 Apr 2022 11:49:55 +0300

Basic use of Gateway

Better reading experience to my blog: Basic use of Gateway | LeDao's blog (zoutl.cn) Build basic framework Project structure Create parent project effect Create a parent project (Maven project, which can delete the src folder), which is used to manage the dependent version number and sub project modules Creation process pom. The c ...

Posted by malikah on Sun, 17 Apr 2022 10:26:35 +0300