11 message driven Stream

Message driven Stream Spring cloud stream can shield the differences between the underlying message middleware, reduce the switching cost, and agree with the message programming model Official website: https://spring.io/projects/spring-cloud-stream#overview API: https://cloud.spring.io/spring-cloud-static/spring-cloud-stream/3.0.1.RELEASE/ref ...

Posted on Sun, 05 Dec 2021 06:58:32 -0500 by adamski

09 service configuration Config

Service configuration Config Problem: microservice means to split the business in a single application into one sub service. The granularity of each service is relatively small, so there will be a large number of services in the system. Because each service needs the necessary configuration information to run, a centralized and dynamic configur ...

Posted on Sat, 04 Dec 2021 15:57:50 -0500 by nathanmaxsonadil

Chapter 17 of in-depth understanding of Spring Cloud and microservice construction uses Spring Cloud OAuth2 to protect microservice systems

Chapter 17 of in-depth understanding of Spring Cloud and microservice construction uses Spring Cloud OAuth2 to protect microservice systems 1, What is OAuth2 OAuth2 is a standard authorization protocol. OAuth2 replaces the work of OAuth1 created in 2006. OAuth2 is not compatible with OAuth1, that is, OAuth1 is completely abandoned. OAuth2 ...

Posted on Fri, 03 Dec 2021 06:26:51 -0500 by behicthebuilder

01 SpringCloud beginner

Mr. Zhou Yang's spring cloud Sort out the notes of current study to facilitate your review. If there are deficiencies, please correct them. Suspension / upgrade / replacement of various Cloud components SpringCloud = a one-stop solution for distributed microservice architecture, which is a collection of landing technologies of a variety of mic ...

Posted on Wed, 01 Dec 2021 21:09:50 -0500 by n_wattam

Spring Cloud Gateway series [1] API Gateway overview and Gateway infrastructure construction

API gateway (service gateway) concept APl Gateway (API gateway), as its name implies, is an API oriented, serial and centralized strong control service that appears on the system boundary. The boundary here is the boundary of enterprise I system, which can be understood as enterprise application firewall, which mainly plays the role of is ...

Posted on Wed, 01 Dec 2021 17:55:55 -0500 by karlovac

05Gulimall - mailbox registration and registration functions

05Gulimall - perfect mailbox registration and registration functions Use mailbox verification code in project gulimall It is divided into two services. One is the third-party service gulimall third party, which is used to really send verification codes. The second is the auth authentication service, which calls the third-party service to ...

Posted on Wed, 01 Dec 2021 12:02:51 -0500 by MeanMrMustard

[Spring Cloud specifies sensitive fields to store database encryption]

1, Foreword When doing the project, sometimes we will encounter the requirements of storing bank card number and mailbox information into the database for encryption. This paper uses jasypt for encryption. reference material: Springboot AOP implements data encryption of specified sensitive fields (data encryption Chapter 2) 2, AOP encr ...

Posted on Wed, 01 Dec 2021 09:00:59 -0500 by cedtech31

Spring Cloud Gateway series [4] initialization loading process source code analysis

Core source code Route class Route is one of the most basic components in gateway, which represents a specific routing information carrier. The routing information consists of an ID, a target URl, a set of assertions, and a set of filters. If the asserted route is true, the requested URI and configuration match. public class Route implem ...

Posted on Wed, 01 Dec 2021 08:13:53 -0500 by ktstowell

Spring cloud upgrade 2020.0.x - 42. Existing request logs and defects for analysis in spring cloud gateway

Code address of this series: https://github.com/JoJoTec/spring-cloud-parent As the gateway is the entrance to all external user requests, it is very important to record the elements we need in these requests for online monitoring and business problem location. Moreover, among these elements, link information is also very important. Thro ...

Posted on Tue, 30 Nov 2021 20:23:39 -0500 by alcapone

Spring cloud upgrade 2020.0.x version - 44. Design to avoid link information loss

Code address of this series: https://github.com/JoJoTec/spring-cloud-parent In this section, we will continue to explain the design to avoid link information loss, mainly focusing on how to ensure that each GlobalFilter can maintain link information after obtaining the existing Span. First, we customize the core Publisher of Reactor, that is ...

Posted on Mon, 29 Nov 2021 21:16:56 -0500 by shastry