Mengkueri tugas sinkronisasi progres konsumen.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
rocketmq:ListDisasterRecoveryCheckpoints |
list |
*All Resource
|
None | None |
Sintaks permintaan
GET /disaster_recovery/{planId}/items/{itemId}/checkpoints HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| planId |
string |
Yes |
ID rencana cadangan. |
1300000016 |
| itemId |
string |
Yes |
ID pemetaan cadangan. |
100070284 |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| instanceId |
string |
Yes |
ID instans sumber. |
rmq-cn-7e22ody**** |
| filter |
string |
No |
Kondisi filter. |
topic_test |
| pageNumber |
integer |
No |
Nomor halaman saat ini. Halaman dimulai dari halaman 1. |
1 |
| pageSize |
integer |
No |
Ukuran halaman. Jumlah maksimum hasil yang dikembalikan per halaman. |
10 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Response Result |
||
| requestId |
string |
Request ID |
AF9A8B10-C426-530F-A0DD-96320B39**** |
| success |
boolean |
Whether the operation was successful |
true |
| data |
object |
Response Data |
|
| pageNumber |
integer |
Current page number |
1 |
| pageSize |
integer |
Page size |
10 |
| totalCount |
integer |
Total number of records |
1 |
| list |
array<object> |
Paged data |
|
|
array<object> |
Paged data |
||
| planId |
integer |
Backup Plan ID |
13000000xx |
| itemId |
integer |
Backup Mapping ID |
10000000xx |
| checkpointId |
integer |
Consumption Progress ID |
10000000xx |
| lastSyncTime |
integer |
Last synchronization time |
1740724080343 |
| sourceProgress |
object |
Source consumption progress |
|
| regionId |
string |
Region ID |
cn-hangzhou |
| instanceId |
string |
Instance ID |
rmq-cn-3mp3vblzxxx |
| instanceType |
string |
Instance type
|
ALIYUN_ROCKETMQ |
| consumerGroupId |
string |
Consumer Group ID |
GID_TEST |
| topicName |
string |
The topic name. |
TOPIC_TEST |
| lastFetchTime |
integer |
Last fetch time |
1740724080343 |
| progressData |
object |
Consumption progress data |
|
| consumeTimestamp |
integer |
Latest consumption time |
1740724080343 |
| targetProgress |
object |
Target consumption progress |
|
| regionId |
string |
Region ID |
cn-hangzhou |
| instanceId |
string |
Instance ID |
rmq-cn-nwy3i065xxx |
| instanceType |
string |
Instance type
|
ALIYUN_ROCKETMQ |
| consumerGroupId |
string |
Consumer group ID |
GID_TEST |
| topicName |
string |
Topic name |
TOPIC_TEST |
| lastFetchTime |
integer |
Latest fetch time |
1740724080343 |
| progressData |
object |
Consumption progress data |
|
| consumeTimestamp |
integer |
Latest consumption time |
1740724080343 |
| code |
string |
Error code |
200 |
| message |
string |
Error message |
The instance cannot be found. |
| httpStatusCode |
integer |
HTTP status code |
200 |
| dynamicCode |
string |
Dynamic error code |
InstanceId |
| dynamicMessage |
string |
The dynamic error message. |
instanceId |
Contoh
Respons sukses
JSONformat
{
"requestId": "AF9A8B10-C426-530F-A0DD-96320B39****",
"success": true,
"data": {
"pageNumber": 1,
"pageSize": 10,
"totalCount": 1,
"list": [
{
"planId": 0,
"itemId": 0,
"checkpointId": 0,
"lastSyncTime": 1740724080343,
"sourceProgress": {
"regionId": "cn-hangzhou",
"instanceId": "rmq-cn-3mp3vblzxxx",
"instanceType": "ALIYUN_ROCKETMQ",
"consumerGroupId": "GID_TEST",
"topicName": "TOPIC_TEST",
"lastFetchTime": 1740724080343,
"progressData": {
"consumeTimestamp": 1740724080343
}
},
"targetProgress": {
"regionId": "cn-hangzhou",
"instanceId": "rmq-cn-nwy3i065xxx",
"instanceType": "ALIYUN_ROCKETMQ",
"consumerGroupId": "GID_TEST",
"topicName": "TOPIC_TEST",
"lastFetchTime": 1740724080343,
"progressData": {
"consumeTimestamp": 1740724080343
}
}
}
]
},
"code": "200",
"message": "The instance cannot be found.",
"httpStatusCode": 200,
"dynamicCode": "InstanceId",
"dynamicMessage": "instanceId"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.