A 10-year IT veteran exhausted his life's hard work and finally completed this SpringCloud development document from entry to actual combat! The minister is very grateful, thank you Daniel!

Preface

First of all, I will show you a picture. I don’t know the technical knowledge points of springcloud on the picture. Have you all been proficient and used it flexibly?

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

If you are not proficient in flexible use, the editor will use this article to take you step by step to learn these technical knowledge step by step. Next, from the Spring Boot microframework, Spring Cloud common component application, to the actual combat of microservices, layer by layer Cocoon analysis, full-process explanation of Spring Cloud development and application, actual cases are used, and you can get started quickly.

Because this article contains too much content, each chapter has more detailed parts, so the editor can only show some of the knowledge points for everyone to introduce, and those who need the full version can directly forward + follow. Get it by private message (technical), I hope everyone can understand and like it! !

First, let’s take a look at the catalog

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Secondly, the main content

This article is mainly divided into 21 chapters to introduce you to the introduction of springcloud development from entry to actual combat. You should pay special attention to the introduction of each chapter:

Chapter 1 What is Microservice; Microservice is one of the more and more popular architecture patterns after SOA. If you pay attention to industry trends, you will find that commercial organizations no longer develop large-scale applications to manage end-to-end business functions as they did a few years ago, but choose fast and flexible microservices. Microservices help break the boundaries of large applications and build logically independent small systems within the system.

  • 1.1 Service-Oriented Architecture
  • 1.2 Microservices
  • 1.3 Principles of microservices
  • 1.4 Advantages of microservices
  • 1.5 Dubbo与Spring Cloud

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 2 Micro-framework Spring Boot; Spring Boot is a brand-new framework provided by the Pivotal team, which is designed to simplify the initial setup and development process of new Spring applications. The framework uses a specific way to configure, so that developers no longer need to define a boilerplate configuration. In this way, Spring Boot is committed to becoming a leader in the booming field of rapid application development.
Spring Boot provides a powerful one-click Spring integrated development environment, which can develop a Spring application separately.

  • 2.1 Overview of Spring Boot
  • 2.2 Spring Boot quick build
  • 2.3 Spring Boot REST API
  • 2.4 Spring Boot JUnit
  • 2.5 Spring Boot BasicAuth

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 3 starts with service registration and discovery;

  • 3.1 Eureka Eureka is a part of the Spring Cloud Netflix microservice suite, which can be easily integrated with the microservices built by Spring Boot. Eureka is a REST-based service, mainly used in the AWS cloud, including server-side and client-side components. The server is also called the service registry, which is used to provide service registration and discovery.
  • 3.2 Consul Consul provides a variety of functions, such as service discovery, configuration management, health checks, and key-value storage. We will develop the following components to build a distributed Eco system, where each component depends on each other in some way, but they are very loosely coupled and of course fault-tolerant.
  • 3.3 The announcement of ZooKeeper Eureka 2.x's closed source is disturbing. As an alternative to the Spring Cloud registry, more and more people are starting to work on ZooKeeper. The service provider registers with ZooKeeper, and the service consumer discovers the relevant information of the service provider from ZooKeeper, so as to call the service provider remotely.

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 4 The relationship between service providers and service consumers;

  • 4.1 The interface is the specification
  • 4.2 Abstract connection
  • 4.3 Build the project to Nexus
  • 4.4 Service provider
  • 4.5 Ribbon for serving consumers
  • 4.6 Feign Feign for service consumers is a lightweight project separated from Netflix. It can add annotations to the class interface and become a REST API client. Spring Cloud encapsulates Feign to support Spring MVC standard annotations and HttpMessageConverterseFeign can be used in combination with Eureka and Ribbon to support load balancing.

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 5 Template Engine | Engine;

  • 5.1 Introduction to Beetl
  • 5.2 Beetl example

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 6 Service Avalanche and Fuse;

  • 6.1 Service avalanche effect. The service avalanche effect is a process in which the service caller becomes unavailable due to the unavailability of the service provider, and the unavailability is gradually enlarged.
  • 6.2 Fuse design
  • 6.3 Hystrix features and use

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 7 Distributed Configuration Center;

  • 7.1 Config Server (Git), Spring Cloud Config can be combined with any language for collaborative development. The Spring Cloud Config backend uses Git storage by default, so we can easily use Git client tools to manage configuration information.
  • 7.2 SVN example and refresh interface, the previous talked about how to manage configuration information through Git. In addition to Git, can other methods be used to manage configuration information? After the configuration is separated from the distributed configuration, once the configuration is modified, how can the distributed services obtain the configuration information again?

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 8 API Gateway;

  • 8.1 Why do we need API Gateway
  • 8.2 Spring Cloud Zuul
  • 8.3 Zmil Service Filter
  • 8.4 Comparison between Zuul and Nginx

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 9 Cloud Foundry;

  • 9.1 Cloud Foundry deployment
  • 9.2 Setting up the PWS console
  • 9.3 Create a Spring Boot application
  • 9.4 Deploy a Spring Boot application

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 10 Message Driven;

  • 10.1 Binder
  • 10.2 Persistent publish-subscribe support
  • 10.3 Consumer Group
  • 10.4 Message partition
  • 10.5 RabbitMQ message queue
  • 10.6 Kafka message queue

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 11 Single Sign-On;

  • 11.1 Security integrated CAS
  • 11.2 OAuth2.0 protocol

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 12 Activity workflow;

  • 12.1 ProcessEngine Object
  • 12.2ActivityUtil engine engine
  • 12.3 Activity actual combat

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 13 ElasticSearch;

  • 13.1 ElasticSearch master node
  • 13.2 ElasticSearch secondary node
  • 13.3 ElasticSearch-head plugin
  • 13.4 ElasticSearch Actual Combat

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 14 ELK Stack;

  • 14.1 What is ELK Stack
  • 14.2 ELK Stack structure
  • 14.3ELK Stack configuration
  • 14.4 ELK Stack creates microservices
  • 14.5 Logstash configuration
  • 14.6 Kibana placement
  • 14.7 Verify ELK Stack

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 15 Multithreading;

  • 15.1 Thread life cycle
  • 15.2 Ways of Communication Between Threads
  • 15.3 Lock
  • 15.4 Thread Pool

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 16 Redis caching technology;

  • 16.1 The most commonly used data types in Redis
  • 16.2 Create-a Spring Boot project
  • 16.3 Redis add configuration file
  • 16.4 Injection configuration
  • 16.5 Redis tools

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 17 Microservice Monitoring;

  • 17.1 Several monitoring dimensions under microservices
  • 17.2 Scenario description of key monitoring indicators
  • 17.3 Hystrix Dashboard fuse monitoring
  • 17.4 Hystrix Turbine fuse cluster monitoring
  • 17.5 JConsole JVM monitoring

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 18 API documentation;

  • 18.1 Use Swagger to generate online API
  • 18.2 Customize Swagger UI style

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 19 Continuous Integration;

  • 19.1 Jenkins continuous integration
  • 19.2 Docker
  • 19.3 Maven
  • 19.4 Governors

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 20 Kinjo Sparrow Department;

  • 20.1 What is canary deployment
  • 20.2 How to do canary deployment
  • 20.3 Docker Private Warehouse Registry

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Chapter 21 Spring Cloud actual combat;

  • 21.1 Project structure
  • 21.2 Construction of basic services

10 years of IT veterans personally describe SpringCloud development from entry to actual documentation

 

Because the content of this [springcloud development from entry to actual combat] document is too much, I will not introduce you one by one here, friends who need the full version, can forward this article, follow the editor, scan the code Just come and get it!

Guess you like

Origin blog.csdn.net/bjmashibing001/article/details/109786854