This is a tool to get data from Canal, and sync to hbase.
Get canal source code from here
The original Canal have protobuf version bug.
Follow the instruction.
Modify the config file in src/main/resources/${env}}.properties, then do
mvn clean package -P${env}
/path/to/canal.deployer/bin/startup.sh
nohup java -jar canal2hbase-0.0.1-SNAPSHOT-jar-with-dependencies.jar &