-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.json
48 lines (48 loc) · 1.13 KB
/
config.json
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
45
46
47
48
{
"mysql_host": "127.0.0.1",
"mysql_port": 3306,
"mysql_user": "root",
"mysql_password": "123456",
"data_dir": "./var",
"mysqldump" : "",
"skip_master_data" : false,
"tables": {
"test.t_1": {
"send_amqp": {
"rabbitmq_host": "172.0.0.1",
"rabbitmq_port": 5672,
"rabbitmq_user": "your username",
"rabbitmq_password": "your password",
"exchange": "mysqlevent_test1",
"routing_key": "mysqlevent_test1",
"fields": {
"id": "id1",
"tag": "tag1"
}
},
"remote_url": {
"url": "http://127.0.0.1:9504/login/test",
"method": "GET",
"content_type": "form",
"timeout": 1,
"fields": {
"id": "id2"
}
}
},
"test.t_2": {
"send_amqp": {
"rabbitmq_host": "172.0.0.2",
"rabbitmq_port": 5672,
"rabbitmq_user": "your username",
"rabbitmq_password": "your password",
"exchange": "mysqlevent_test2",
"routing_key": "mysqlevent_test2",
"fields": {
"id": "id",
"tag": "tag"
}
}
}
}
}