forked from long2ice/synch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
44 lines (36 loc) · 945 Bytes
/
.env.example
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# if True,will display sql information
DEBUG=True
# monitor ui
UI_ENABLE=True
UI_REDIS_DB=1
UI_MAX_NUM=60
# sentry need
ENVIRONMENT=development
MYSQL_HOST=127.0.0.1
MYSQL_PORT=3306
MYSQL_USER=root
MYSQL_PASSWORD=123456
MYSQL_SERVER_ID=101
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_DB=0
CLICKHOUSE_HOST=127.0.0.1
CLICKHOUSE_PORT=9002
CLICKHOUSE_PASSWORD=
CLICKHOUSE_USER=default
SENTRY_DSN=https://3450e192063d47aea7b9733d3d52585f@sentry.test.com/1
KAFKA_SERVER=127.0.0.1:9092
KAFKA_TOPIC=mysql2ch
# only these schemas to replication
SCHEMAS=test
# only these tables to replication
TABLES=test
# kafka partitions mapping,which means binlog of test.test will produce to 0 partition.
PARTITIONS=test.test=0;test.test2=1;
# init binlog file and position,should set first,after will read from redis.
INIT_BINLOG_FILE=binlog.000474
INIT_BINLOG_POS=155
# how many num to submit
INSERT_NUMS=20000
# how many seconds to submit
INSERT_INTERVAL=60