Seata1.4.2+Nacos construction and use

Seata1.4.2+Nacos construction and use preface seata official website Build environment: mac os spring-boot.version 2.3.7.RELEASE spring-cloud-alibaba.version 2.2.2.RELEASE spring-cloud.version Hoxton.SR9 Database mysql.8.0+ 1, Set up seata1.4.2 server 1. Download seata1.4.2 Download address https://github.com/seata/seata/releases ...

Posted by lemist on Wed, 17 Nov 2021 04:08:58 +0100

sentinel Chapter 2 - use of resource annotations - combined with spring AOP

preface The previous chapter provides a quick introduction. What you can know is: Using sentinel is mainly to define resources, configure resource rules and verify the effectiveness of configuration In sentinel, "a resource can be anything, a service, a method in a service, or even a piece of code." This article will use sentinel ...

Posted by sualcavab on Thu, 11 Nov 2021 23:55:02 +0100

SpringBoot scheduled task @ enableshcheduling

1. Import the necessary dependencies in pom.xml: <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.1.RELEASE</version> </parent> <dependencies> <!-- SpringBoot Core components --> <dependency& ...

Posted by beginPHP on Thu, 11 Nov 2021 11:40:37 +0100

RocketMq cluster installation & spring boot integration

catalogue 1, RocketMQ introduction 2, Noun interpretation 3, Installation Installation mode preparation Build RocketMQ cluster in traditional way 4, Integrate Springboot 1, RocketMQ introduction          RocketMQ is a distributed messaging middleware, which was originally developed by Alibaba's ...

Posted by tommyinnn on Wed, 10 Nov 2021 20:32:06 +0100

SpringBoot integrates Mock for interface testing

1, Foreword 1. Problems encountered:          In order to ensure the stable online operation of the function, coverage unit test must be carried out before the function is online, but the integration test can only be carried out because the interface test needs to be called through PostMan or Swagger. ...

Posted by yanisdon on Wed, 10 Nov 2021 18:29:26 +0100

SpringBoot startup process of Spring

preface The startup process of SpringBoot is relatively long, which will involve events / listeners of other modules, and these listeners will have their own logic; This paper focuses on the startup process. The more important listeners that have an impact on the overall situation will also be picked up separately to explain its role. The arti ...

Posted by Tremour on Tue, 09 Nov 2021 22:42:23 +0100

Among the 12 vo2dto methods, the pressure measurement data of BeanUtil.copyProperties are the most stretched!

Continue to adhere to the original output, click the blue word to pay attention to me Author: Xiao Fu GeBlog: https://bugstack.cn ❝ Precipitate, share and grow, so that you and others can gain something! 😜 ❞ catalogue 1, Foreword 2, Performance test comparison 3, 12 convers ...

Posted by rotwyla98 on Tue, 09 Nov 2021 09:34:37 +0100

Custom annotations in SpringBoot

annotation 1. Meta annotation Meta annotations are annotations that define annotations. They are the basic annotations provided by Java to define annotations annotationexplain@RetentionIt is an annotation Class, implementing declaration Class, declaration Class and declaration extension@TargetIt is placed on the top of the custom annotat ...

Posted by lanmonkey on Mon, 08 Nov 2021 19:41:51 +0100

Understand series: Spring Boot starts Eureka Server process

Recently, it is the peak of job hopping. I worked overtime for many days, sorted out the interview dictionary containing more than 16000 interview questions, and pointed out that Beijun will continue to update the questions in this interview dictionary, hoping it can help you find your favorite job! [receiving method at the end of the document] ...

Posted by madolia on Mon, 08 Nov 2021 10:41:10 +0100

Stop using mybatis. Mybatis plus, a divine tool, is sent to the soul

Mybatis plus is a mybatis enhancement tool to simplify development and improve efficiency. The following uses the abbreviation mp to simplify the representation of mybatis plus. This article mainly introduces the use of mp with SpringBoot. Note: the mp version used in this article is the latest version 3.4.2. Please refer to the documentation ...

Posted by plugnz on Mon, 08 Nov 2021 07:59:37 +0100