-
Notifications
You must be signed in to change notification settings - Fork 11
/
cdc-job.json
47 lines (47 loc) · 1.45 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
47
{
"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,
"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:mysql://127.0.0.1:3306/RedisConnect?useInformationSchema=true",
"databaseType": "MYSQL",
"customConfiguration": {
"database.dbname" : "RedisConnect",
"database.hostname" : "127.0.0.1",
"database.port" : 3306,
"snapshot.mode": "never"
}
},
"tables": {
"RedisConnect.emp": {
"columns": [
{ "targetColumn": "empno", "sourceColumn": "empno", "targetKey": true },
{ "targetColumn": "hiredate", "sourceColumn": "hiredate", "type": "DATE_TIME", "dateFormat": "YYYY-MM-dd'T'HH:mm:ss" }
],
"initialLoad": {
"partitions": 4
},
"autoConfigColumnsEnabled": true
}
}
}
}