Spring cloud 2020 - spring cloud stream message driven (note)
Previous: SpringCloud 2020-SpringCloud config distributed configuration center (note)
1. Message driven overview
1.1 INTRODUCTION
Shield the differences between the underlying message middleware, reduce the switching version, and unify the programming model of message Official website: https://spring.io/projects/spring-cloud-stream h ...
Posted by christiank on Tue, 08 Mar 2022 03:52:09 +0100
Detailed construction steps of Spring Boot project? java version of SpringCloud+SpringBoot+uniapp+vue b2b2c microservice mall microservice e-commerce live broadcast with goods source code
In Spring Tools 4 for Eclipse, select File - > New - > Maven Project, and then add relevant information in the interface as shown in the figure.
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.6.RELEASE</version&g ...
Posted by webent on Tue, 08 Mar 2022 03:15:37 +0100
DispatchServlet principle of Spring principle
DispatchServlet parsing of Spring MVC
Spring MVC sequence diagram
The parent class of DispatchServlet is FrameworkServlet, and the parent class of FrameworkServlet is HttpServletBean
Core process:
Find the init() method of DispatchServlet and locate the init() method of the parent HttpServletBean of its parent class
Locate the locatio ...
Posted by tmed on Tue, 08 Mar 2022 02:44:24 +0100
Elasticsearch+Logstash+Kibana log collection service is built and simply integrated
ELK introduction
ELK is the abbreviation of Elasticsearch+Logstash+Kibana
Elasticsearch is a distributed search and analysis engine, which can be used for full-text retrieval, structured retrieval and analysis, and can combine the three. Elasticsearch is based on Lucene and is now one of the most widely used open source search engines.
Logst ...
Posted by astricks on Tue, 08 Mar 2022 01:41:20 +0100
SpringBoot Admin2.0 integrated Java diagnostic artifact Arthas practice
The project initially used Arthas for two purposes:
Through arthas, we can solve the problem of realizing the performance problem analysis tool of test environment, performance test environment and production environment.
By using the combination of jad, mc and redefine functions, the ability of hot update of some node codes in the prod ...
Posted by graziano on Tue, 08 Mar 2022 00:33:21 +0100
SpringBootAdmin build Tutorial 9: microservice development Zookeeper registry integration SpringBootAdmin
In the previous article, we learned how to integrate SpringBootAdmin for monitoring and other operations by using Consul registration discovery in microservices. In this article, we learn how to integrate SpringBootAdmin in Zookeeper registry.
Introduction to Zookeeper
ZooKeeper is a software project of Apache Software Foundation. It provides ...
Posted by rdub on Mon, 07 Mar 2022 23:46:28 +0100
Based on the implementation of SpringBoot, the log has rhythm like poetry (log tracking)
preface
In the traditional system, if the log output can be provided, it can basically meet the requirements. However, once the system is divided into two or more systems, plus load balancing, the call link becomes complex.
Especially in the direction of further evolution towards micro services, if there is no reasonable planning of logs and ...
Posted by mhsjrotc on Mon, 07 Mar 2022 23:05:20 +0100
AOP learning record and @ Configuration annotation use
AOP is face to face, why face to face? What operations require AOP programming?
The main purpose of Aop is to extract the aspects in the business processing process. It faces a step or stage in the processing process, so as to obtain the isolation effect of low coupling between various parts in the logical process.
For example, the most com ...
Posted by robos99 on Mon, 07 Mar 2022 21:37:33 +0100
Use of filters in SpringBoot
1. Introduction to filter
The concept of filter should be familiar to everyone, especially to those who start with Servlet and learn Java background. So what can we do with this thing? Filter filter is mainly used to filter user requests. It allows us to pre process and post process user requests, such as realizing URL level permission control ...
Posted by PureEvil on Mon, 07 Mar 2022 21:34:37 +0100
Dynamically inject beans into Spring containers based on ImportBeanDefinitionRegistrar and FactoryBean
1, Background
We have developed a third-party jar package to integrate with Spring and inject it into the Spring container. In their own jar packages, a custom annotation @ customimport (beanname = "") is added to the classes that need to be added to the Spring container. The value of the beanname attribute represents the name that n ...
Posted by Tonic-_- on Mon, 07 Mar 2022 21:17:55 +0100