Queries events for a synchronization task.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DIJobId | string | No | The ID of the synchronization task. | 11588 |
EventType | string | Yes | The type of event that you want to query. Valid values: Failover, Alarm, and DDL. | Alarm |
StartTime | long | Yes | The beginning of the time range to query. | 1716971005 |
EndTime | long | Yes | The end of the time range to query. | 1717971005 |
PageNumber | long | No | The page number. Pages start from page 1. Default value: 1. | 1 |
PageSize | long | No | The number of entries per page. Default value: 10. Maximum value: 100. | 10 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "645F6D68-9C29-5961-80B1-BDD4B794C22D",
"PagingInfo": {
"TotalCount": 2524,
"PageSize": 10,
"PageNumber": 1,
"DIJobEvent": [
{
"Id": "1",
"CreateTime": "1663573162",
"FailoverMessage": "2024-05-29 15:11:31,377 [main] INFO com.*.**.di.core.metrics.:21 [] {****} \n2024-05-29 15:11:31,384 [main] INFO *.aliyun.*.di.*.*.metrics.*:27 [] - Open MarioDiReporter \n2024-05-29 15:11:33,248 [flink-akka.*.*-dispatcher-17] INFO ",
"Severity": "Warning",
"Channels": "Phone",
"Status": "Success",
"Detail": "",
"Type": "Delay",
"Action": "Ignore",
"SrcTable": "table1",
"DstTable": "table2",
"SrcSql": "alter table table1 ***",
"DstSql": "alter table table2 ***"
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-10-15 | The internal configuration of the API is changed, but the call is not affected | View Change Details |