1. Host planning
Matters needing attention
If the configuration file of master or minion is modified, the corresponding service must be restarted.
2. Understand YAML
YAML: three board axe
1. Indent: 2 spaces, cannot use Tab
2. Colon: key: value note that there are ...
Posted on Mon, 02 Dec 2019 10:06:33 -0500 by geowulf
For the created ﹣ on and updated ﹣ on entities, it is unnecessary for developers to intervene, because it is enough to explain the use scenario, that is, when inserting and updating data, record the current time. For mybatis, it can be realized through interceptors. Remember that the methods implemented in jpa are mainly realized through jpa ...
Posted on Mon, 02 Dec 2019 03:07:49 -0500 by karenruth
Clarify the process of mybatis loading and parsing mapper file;
Clarify the process of executing SQL by mybatis.
When analyzing the source code of mybatis loading configuration, the previous article mentioned org.apache.ibatis.builder.xml.xmlconfigbuilder ා parseconfiguration method, and now continues to analyze mapperElement meth ...
Posted on Sun, 01 Dec 2019 23:30:46 -0500 by eon201
First, configure the master-slave synchronization of the database:
The last article wrote: https://www.cnblogs.com/xuyiqing/p/10647133.html
Why should we separate reading from writing?
In general, most of the read operations of Web applications are much more than the write operations
In order to improve efficiency, we can consider the se ...
Posted on Sun, 01 Dec 2019 20:09:31 -0500 by ajsuk
For a static field, only the class that defines the field directly can be initialized. When a class is initializing, all its parent classes must be initialized.
public static final String mString = "hello jvm";
System.out.println("call MParent static block");
Posted on Sun, 01 Dec 2019 18:34:14 -0500 by johnbrayn
First of all, the environment is ready for installation
[root@minion-1 ~]#yum install -y libxml2-devel pcre-devel openssl-devel expat-devel && yum -y groupinstall "Development Tools"
apche compilation requires two components: APR and APR util. If the link fails because of the latest package, click this website directory to find o ...
Posted on Sun, 01 Dec 2019 17:48:50 -0500 by Cereals
Before you install the kafka service again.
spring for kafka documentation
spring boot for kafka document
1. Dependency package
<!-- kafka -->
Posted on Sun, 01 Dec 2019 08:52:59 -0500 by adrian28uk
Custom Catalog title is written here
1. Preparatory work
2.jar package installation
3. Compile source code
1. Preparatory work
CentOS can connect to the Internet, Linux virtual machine ping www.baidu.com It is smooth.Note: compile with root role to reduce the problem of folder permission
jar package preparatio ...
Posted on Sun, 01 Dec 2019 01:09:48 -0500 by sgiandhu
Create a service provider (eureka client)
1. Create an order service as a service provider
Create a new module order service
pom.xml is as follows
<?xml version="1.0" encoding="UTF-8"?>
Posted on Sat, 30 Nov 2019 21:15:37 -0500 by Kerry Kobashi
pom.xml introduces the jar package, as follows
Modify the project startup class, add the annotation @ EnableCaching, and ena ...
Posted on Sat, 30 Nov 2019 20:54:29 -0500 by J.Daniels