You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
63 lines
1.3 KiB
63 lines
1.3 KiB
2 years ago
|
{
|
||
|
"job": {
|
||
|
"content": [
|
||
|
{
|
||
|
"reader": {
|
||
|
"name": "mysqlreader",
|
||
|
"parameter": {
|
||
|
"username": "usr",
|
||
|
"password": "pwd",
|
||
|
"column": [
|
||
|
"id",
|
||
|
"name",
|
||
|
"code",
|
||
|
"description"
|
||
|
],
|
||
|
"splitPk": "id",
|
||
|
"connection": [
|
||
|
{
|
||
|
"table": [
|
||
|
"source_table"
|
||
|
],
|
||
|
"jdbcUrl": [
|
||
|
"jdbc:mysql://127.0.0.1:3306/source_db"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"writer": {
|
||
|
"name": "mysqlwriter",
|
||
|
"parameter": {
|
||
|
"writeMode": "insert",
|
||
|
"username": "usr",
|
||
|
"password": "pwd",
|
||
|
"column": [
|
||
|
"id",
|
||
|
"name"
|
||
|
],
|
||
|
"connection": [
|
||
|
{
|
||
|
"jdbcUrl": "jdbc:mysql://127.0.0.1:3306/target_db",
|
||
|
"table": [
|
||
|
"target_table"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
],
|
||
|
"setting": {
|
||
|
"errorLimit": {
|
||
|
"percentage": 0,
|
||
|
"record": 0
|
||
|
},
|
||
|
"speed": {
|
||
|
"channel": 1,
|
||
|
"record": 1000
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|