dis__ConsumeRecords
Retrieves records from a Huawei Cloud DIS channel using a partition cursor and project ID, with an optional maximum byte limit per request.
Instructions
[DIS] 本接口用于从DIS通道中下载数据。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"partition-cursor": "<partition-cursor>",
"project_id": "<project_id>"
},
"name": "dis__ConsumeRecords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | 项目ID。 | |
| max_fetch_bytes | No | 每个请求获取记录的最大字节数。 | |
| partition-cursor | Yes | 数据游标,需要先通过获取数据游标的接口获取。 |