This is the 30th day of my participation in the Wenwen Challenge
Today is the last day of this month, so let’s get straight to the main text
Principle of Gateway
Spring Cloud Gateway is an API Gateway built on top of the Spring ecosystem. This paper mainly describes the reasons, advantages, features, core functions and the implementation process of the Gateway. The only defect is the lack of relevant code cases, so that readers can learn more easily
The Config principle
Spring Cloud Config, the configuration center, starts with a short story to introduce the importance of configuration center (although the story is slightly less relevant, it did take some time to figure it out). It then lists why Spring Cloud Config is used, what it does, how to use it, what it consists of, and a little demo
Principle of Stream
Speaking of Spring Cloud Stream, I have done a lot of tests on Kafaka data before. At that time, the goal was to build an instant messaging notification center. Unfortunately, it was not perfect, and it was shelve for several months. The article talked about Spring Cloud Stream related projects Spring Messaging and Spring Integration, and wrote a practical small demo
Sleuth principle
Compared with the previous articles, the article of Spring Cloud Sleuth is more in line with the title (Sleuth Principle). The previous article was too detailed in other relevant knowledge points, which resulted in the explanation of its own principle being skipped. Of course, it is still a bit worse than the real principle. It mainly describes the implementation logic of Spring Cloud Sleuth and the small demo built with Sleuth
Principle of Seata
The content of Seata, as a framework to provide distributed transaction solutions, is basically a must for interview distributed questions, of course, the article covers a small part of distributed transaction processing and Seata’s four modes
Data Flow
Spring Cloud Data Flow is mainly used as a Data channel. This paper mainly describes the differences between Spring Cloud Data Flow and Spring XD as well as the characteristics and functions of Data Flow
The Security function
Spring Cloud Security is the main kernel in the gateway, and is a required feature in every system ———— login authentication. There are other authentication frameworks, such as Apache Shiro, but as long as we understand the authentication process of one framework, then we can learn from the other. The business logic implemented is similar, authentication, authorization, using token or session as ticket, expiration time, token or session caching, etc. However, this article does not cover much, The OAuth2.0 authentication process, authorization methods and Spring Cloud Security features are described
All right, the June update is over!