Canal's source code build tool uses maven. It is relatively familiar to domestic programmers, because I found that the build tools used by foreign developed frameworks such as kafka, spring, and elastic search are all gradle.
1. Download the source code
git address
https://github.com/alibaba/canal
Second, use idea to build
Paste in the git address and start downloading
Three, execute the build command
Execute in the root directory of the canal project
Root directory location
mvn clean install -Dmaven.test.skip=true
The premise is that maven must be installed on your computer, which is a must for Java programmers. If you don’t remember to install it
Fourth, start
Find startup class
canal started successfully! ! ! !