running-fish / canal2hbase

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 &

About


Languages

Language:Java 100.0%