距第一版发布已经过去两三个月,经过不断完善,mysql2ch 已经发布 0.4.0 版本了~
$ mysql2ch etl -h
usage: mysql2ch etl [-h] --schema SCHEMA [--tables TABLES] [--renew]
optional arguments:
-h, --help show this help message and exit
--schema SCHEMA Schema to full etl.
--tables TABLES Tables to full etl,multiple tables split with comma,default read from environment.
--renew Etl after try to drop the target tables.
$ mysql2ch produce
$ mysql2ch consume -h
usage: mysql2ch consume [-h] --schema SCHEMA [--skip-error] [--auto-offset-reset AUTO_OFFSET_RESET]
optional arguments:
-h, --help show this help message and exit
--schema SCHEMA Schema to consume.
--skip-error Skip error rows.
--auto-offset-reset AUTO_OFFSET_RESET
Kafka auto offset reset,default earliest.
https://github.com/long2ice/mysql2ch,求个 star~👍
1
azkaban 2020-05-08 16:37:53 +08:00
已 star,clone 下来研究一下
|
3
walker2laok 2020-05-11 09:01:01 +08:00
star, 正好借此研究一番...
|