-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcdc-job.json
46 lines (46 loc) · 1.34 KB
/
cdc-job.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
{
"partitions" : 1,
"pipeline": {
"stages": [
{
"database": {
"credentialsFilePath" : "/opt/redislabs/redis-connect/config/samples/credentials",
"databaseURL": "redis://127.0.0.1:14000",
"databaseType": "REDIS",
"customConfiguration": {
"redis.connection.sslEnabled": false,
"truststore": "/opt/redislabs/redis-connect/config/samples/credentials/client-truststore.jks"
}
},
"index": 1,
"stageName": "REDIS_HASH_SINK",
"checkpointStageIndicator": true,
"metricsEnabled": true
}
]
},
"source": {
"database": {
"credentialsFilePath": "/opt/redislabs/redis-connect/config/samples/credentials",
"databaseURL": "jdbc:postgresql://127.0.0.1/RedisConnect",
"databaseType": "POSTGRES",
"customConfiguration": {
"database.dbname": "RedisConnect",
"database.hostname": "127.0.0.1",
"database.port": 5432
}
},
"tables": {
"public.emp": {
"columns": [
{ "targetColumn": "empno", "sourceColumn": "empno", "targetKey": true},
{ "targetColumn": "hiredate", "sourceColumn": "hiredate", "type": "DATE"}
],
"initialLoad": {
"partitions": 4
},
"autoConfigColumnsEnabled": true
}
}
}
}