-
Notifications
You must be signed in to change notification settings - Fork 131
Expand file tree
/
Copy pathreparo.toml
More file actions
28 lines (23 loc) · 888 Bytes
/
reparo.toml
File metadata and controls
28 lines (23 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# drainer 输出的 protobuf 格式 binlog 文件的存储路径
data-dir = "data.drainer"
# log-file = ""
# log-rotate = "hour"
log-level = "info"
# start-datetime and stop-datetime enable you to pick a range of binlog to reparo.
# The datetime format is like '2018-02-28 12:12:12'.
#start-datetime = "2018-10-24 00:00:00"
#stop-datetime = "2018-11-26 00:00:00"
# Start-tso is similar to start-datetime, but in pd-server tso format. e.g. 395181938313123110
# Stop-tso is is similar to stop-datetime, but in pd-server tso format. e.g. 395181938313123110
# start-tso = 0
# stop-tso = 0
# dest-type choose a destination, which value can be "mysql", "print".
# for print, it just prints decoded value.
dest-type = "mysql"
#compression = "gzip"
# 如果指定的 dest-type 为 mysql 或 tidb,需要配置 dest-db。
[dest-db]
host = "127.0.0.1"
port = 3306
user = "root"
password = ""