job 详细信息可使用 HTTP API 查询,示例:
[
{
"CreateIndex":109,
"ID":"ba13f3e1-0630-f141-4c60-a1f36c61cdb3",
"JobModifyIndex":2372,
"JobSummary":{
"Constraints":null,
"CreateIndex":109,
"Datacenters":[
"dc1"
],
"EnforceIndex":false,
"Failover":false,
"ID":"ba13f3e1-0630-f141-4c60-a1f36c61cdb3",
"JobModifyIndex":2372,
"ModifyIndex":2372,
"Name":"have_a_try",
"Orders":[
],
"Region":"global",
"Status":"running",
"StatusDescription":"",
"Tasks":[
{
"Config":{
"GroupMaxSize":"1",
"ChunkSize":"2000",
"BinlogFile":"1.000002",
"MsgsLimit":"65536",
"GroupTimeout":"100",
"DropTableIfExists":false,
"ExpandSyntaxSupport":false,
"BytesLimit":"67108864",
"MsgBytesLimit":"20480",
"ReplChanBufferSize":"600",
"NatsAddr":"172.100.9.6:8193",
"ApproveHeterogeneous":true,
"SqlFilter":[
],
"BinlogPos":4261,
"ConnectionConfig":{
"Host":"172.100.9.1",
"Port":"3306",
"User":"src_test",
"Password":"*"
},
"TrafficAgainstLimits":0,
"Gtid":"8868d98f-af5e-11e8-9aa9-0242ac110002:1-16",
"ReplicateDoDb":[
{
"TableSchema":"test",
"Tables":[
{
"TableName":"test1"
}
]
}
],
"SkipCreateDbTable":false
},
"ConfigLock":{
},
"Constraints":null,
"Driver":"MySQL",
"Leader":false,
"NodeID":"ee97dc49-85ed-febc-4d3c-cfbfa87f46bd",
"NodeName":"",
"Type":"Src"
},
{
"Config":{
"BinlogFile":"1.000002",
"BinlogPos":4261,
"ConnectionConfig":{
"Host":"172.100.9.2",
"Port":"3306",
"User":"dest_test",
"Password":"*"
},
"Gtid":"8868d98f-af5e-11e8-9aa9-0242ac110002:1-16",
"ParallelWorkers":"1",
"NatsAddr":"172.100.9.6:8193"
},
"ConfigLock":{
},
"Constraints":null,
"Driver":"MySQL",
"Leader":true,
"NodeID":"e623aedd-5c37-da67-4ddf-1a82ce1ac298",
"NodeName":"",
"Type":"Dest"
}
],
"Type":"synchronous"
},
"ModifyIndex":2372,
"Name":"have_a_try",
"Status":"running",
"StatusDescription":"",
"Type":"synchronous"
}
]