springcloud distributed micro service E-commerce mall learn from me about the use of spring cloud gateway filter factory

Gateway filter factory is a filter factory provided in Spring Cloud Gateway. The routing filter of Spring Cloud Gateway allows you to modify the incoming HTTP request or output HTTP response in some way, which only works on specific routes. Spring Cloud Gateway has many built-in filter factories, which can be used directly by configuration. At ...

Added by lancia on Tue, 08 Mar 2022 19:51:30 +0200

Springcloud -- use and explanation of openfeign / feign

1. Introduction to openfeign Feign is a declarative Web Service client. Its appearance makes it easy to develop Web Service clients. To use feign, you only need to create an interface and add corresponding annotations, such as FeignClient annotation. Feign has pluggable annotations, including feign annotations and JAX-RS annotations. Feign ...

Added by the-botman on Tue, 08 Mar 2022 02:39:36 +0200

springboot feign is simply combined with hystrix fuse

In terms of interface calls, Spring Cloud will generally go through the cooperation of the following components: Feign - > hystrix - > ribbon - > HTTP client (apache http components or Okhttp), as shown in the following figure: (1) Interfaced request call when calling the interface modified by @ FeignClient annotation, convert the req ...

Added by nick2005 on Mon, 07 Mar 2022 13:17:52 +0200

Internal calls between microservices

2. Service invocation 2.1 LoadBalancer integrates RestTemplate to call other micro services 2.1.1 introduction 2.1.1.1 introduction to resttemplate RestTemplate is a network request framework in Spring Resources that accesses third-party RESTful API interfaces. The design principle of RestTemplate is similar to that of other spring template ...

Added by Desbrina on Mon, 07 Mar 2022 05:22:15 +0200

Java Vue+SpringCloud integration before and after the completion of Alipay payment (sandbox) operation process [detailed]

Java Vue+SpringCloud integration before and after the completion of Alipay payment (sandbox) operation process [detailed] The realization of Alipay payment function in our project is actually very simple. Don't say much, come straight to the point! preparation Baidu enters Alipay official website Choose me to be a developer Click ...

Added by fire_cracker on Sun, 06 Mar 2022 14:18:38 +0200

Fix the problem that WebClient calls cannot be tracked through Skywalking in the Spring Cloud Gateway project

Solve the problem that WebClient calls cannot be tracked in the Spring Cloud Gateway projectProblem descriptionSkywalking brings non intrusive distributed link collection to java applications through java agent. In the microservice architecture, as a business Gateway, Spring Cloud Gateway generally needs to customize the Filter and call other ...

Added by Maknis on Sat, 05 Mar 2022 11:40:11 +0200

@SentinelResource annotation details

stay SpringCloudAlibaba-Sentinel In this document, we have introduced the general knowledge of Sentinel. However, the @ SentinelResource annotation did not mention its details in that document, that is, it was simply mentioned. The annotation of that document is introduced at: https://www.yuque.com/shmily-kbnvv/xxbj/ci2gs5#9lIy9 //todo to be mo ...

Added by p.utsav on Fri, 04 Mar 2022 18:56:17 +0200

Spring cloud - load balancing Ribbon(Greenwich version)

Catalogue ​ 1. Load balancing 2. Introduction to Ribbon 3. IRULE 7 default algorithm 4. Project practice 4.1 preparations 4.2. Create a Ribbon service 1. Load balancing Load balancing simply means that users' requests are evenly distributed to multiple services, so as to achieve high availability (HA) of the system. Common load balanci ...

Added by bettyatolive on Fri, 04 Mar 2022 06:42:59 +0200

Spring cloud -- quickly build spring cloud

1, The architecture process is as follows: 2, Create a service registry (server) 1. Select "New", select "Spring Boot" - "Spring Starter Project" in the dialog box, and click "Next" 2. Fill in the following contents in the "New Spring Starter Project" dialog box and click "Next" 3. ...

Added by knobby2k on Thu, 03 Mar 2022 22:17:11 +0200

Spring Cloud Eureka: Client source code

entrance stay Last In the built Spring Cloud Client project, Eureka client was successfully started after adding a little configuration to the configuration file. How did the client join Spring? We know that if we want to register some beans into Spring, but these beans are not under the scanning path of Spring, there are only two schemes ...

Added by edg322 on Wed, 02 Mar 2022 11:14:38 +0200