-
Notifications
You must be signed in to change notification settings - Fork 3
/
readConfig.json
105 lines (105 loc) · 2.44 KB
/
readConfig.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"config": {
"key": "secret"
},
"catalog": {
"streams": [
{
"stream": {
"name": "table1",
"json_schema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "int",
"description": "hello"
},
"value": {
"type": "int",
"description": "world"
}
}
},
"supported_sync_modes": [
"full_refresh",
"incremental"
],
"default_cursor_field": [],
"source_defined_primary_key": [
[
"id"
]
],
"namespace": "app1"
},
"sync_mode": "full_refresh",
"cursor_field": [],
"destination_sync_mode": "append",
"primary_key": [
[
"id"
]
]
},
{
"stream": {
"name": "table2",
"json_schema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "int"
},
"value": {
"type": "int"
}
}
},
"supported_sync_modes": [
"full_refresh"
],
"default_cursor_field": [],
"source_defined_primary_key": [],
"namespace": "app1"
},
"sync_mode": "incremental",
"cursor_field": [],
"destination_sync_mode": "append",
"primary_key": []
},
{
"stream": {
"name": "table3",
"json_schema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "int"
},
"value": {
"type": "int"
}
}
},
"supported_sync_modes": [
"full_refresh"
],
"default_cursor_field": [
"id"
],
"source_defined_primary_key": [],
"namespace": "app1"
},
"sync_mode": "full_refresh",
"cursor_field": [
"id"
],
"destination_sync_mode": "append",
"primary_key": []
}
]
}
}