-
Notifications
You must be signed in to change notification settings - Fork 11
/
cdc-job.json
46 lines (46 loc) · 1.39 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
{
"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,
"redis.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:db2://127.0.0.1:50000/RCDB2",
"databaseType": "DB2",
"customConfiguration": {
"database.dbname" : "RCDB2",
"database.hostname" : "127.0.0.1",
"database.port" : 50000
}
},
"tables": {
"DB2INST1.EMP": {
"columns": [
{ "targetColumn": "EmployeeNumber", "sourceColumn": "EMPNO", "targetKey": true },
{ "targetColumn": "FirstName", "sourceColumn": "FNAME" },
{ "targetColumn": "HireDate", "sourceColumn": "HIREDATE", "type": "DATE" }
],
"initialLoad": {
"partitions": 4
},
"autoConfigColumnsEnabled": true
}
}
}
}