chaopengio / canal2hbase

2 stars 3 forks source link

Introduction

This is a tool to get data from Canal, and sync to hbase.

Setup Canal Server

Get canal source code from here

The original Canal have protobuf version bug.

Follow the instruction.

Setup Canal Client

Modify the config file in src/main/resources/${env}}.properties, then do

mvn clean package -P${env}

Start Server

/path/to/canal.deployer/bin/startup.sh

Start Client

nohup java -jar canal2hbase-0.0.1-SNAPSHOT-jar-with-dependencies.jar &