preface

I don’t know if you have learned and forgotten. Most of the time, it’s not that you don’t want to learn, but you just spend a lot of time, watch a lot of video documents, and take a lot of notes. However, because there is no application, in the words of my friend, it is: ** This is also the biggest problem many programmers encounter when learning. Although GitHub is a platform like this, things are too messy, and there is no discernible. Outsourcing small development has no time, no team, more difficult. This is also my public number backstage fans told me more problems point.

Today I will share with you an open source project and a learning document

The open source project

Cloud-platform is the first micro-service development Platform based on Spring Cloud in China. It has a unified authorization and authentication background management system, including multiple modules such as user management, resource rights management and gateway API management. It supports the parallel development of multi-service systems and can serve as the development scaffolding for back-end services. Simple code, clear architecture, suitable for learning and direct project use. The core technology adopts Spring Boot 2.1.2 and Spring Cloud (Greenwich.RELEASE) related core components, Nacos registration and configuration center, integrated flow guard Sentinel, and vue-element-Admin component at the front end. Elastic Search integrates itself.

Documentation — Using Spring Cloud and Docker micro Services

This book provides a comprehensive and systematic introduction to Spring Cloud and its application to microservices architecture. The book consists of 13 chapters,

Chapter 1 introduces basic concepts related to microservices architecture.

Chapter 2 covers the components contained in Spring Cloud and the context of Spring Cloud conventions;

Chapter 3 introduces the basics of Spring Cloud :Spring Boot, including how to build a SpringBoot service, SpringBoot configuration files and monitoring management endpoints provided by the Actuator.

Chapters 4 through 13 cover Spring Cloud components in detail, Including Eureka (Service Registration and discovery), OpenFeign (Declarative RESTful client), Hystrix (circuit breaker), Ribbon (client load balancer), and Gateway (API gateway), Config (configuration center), Stream (message driver), Bus (message Bus), Security (authentication and authorization), Sleuth (service link tracing). This book provides a technical insight into the implementation of Spring Cloud components and further application ideas, which can be used as a reference book for microservice architecture practices using Spring Cloud.

If you need this information, follow the public number: Java Architect Union, you can see how to obtain it

A mind map is included

The module specification

Architecture in this paper,

Zhongtai chemical front end

Integrated D2admin China front-end, optimized the front-end architecture and function layout, and supported China Service application development.

JWT authentication

User authentication and information transfer are carried out through JWT to ensure stateless transfer of users between services.

monitoring

Spring Boot Admin is used to monitor the running status of each independent Service. Use the Hystrix Dashboard to view the running status and call frequency of the interface in real time.

Load balancing

In addition to node.js and Nginx, Spring Cloud series Zuul and Ribbon can help us carry out normal gateway control and load balancing. Among them, the extension and reference of foreign projects is based on the Zuul current limiting plug-in of JWT.

Service registration and invocation

Nacos-based service registration and invocation. Using Feign in Spring Cloud, we can achieve the same coding experience when requesting a remote service using HTTP as when calling a local method. The developer does not know that it is a remote method, let alone an HTTP request.

Fusing and flow control

Integrates Ali Sentinel for interface flow control and avoids “avalanche” of calls between services through fusing and downgrading processing.

Screenshot function

Need this project source code, concern public number: Java architect union, you can view the way to obtain

documentation

Here’s a look at the document

SpringCloud

SpringBoot

Microservices source code configuration

Detailed expansion of the length is too much, in order to let you better study, need these information, pay attention to the public number: Java architect union, you can view the way to obtain