dis__SendRecords
Uploads records to a Huawei Cloud DIS stream so applications can ingest data into a specified channel, with support for partition keys, hashes, and shard targeting.
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": {
"project_id": "<project_id>",
"records": "<records>",
"stream_name": "<stream_name>"
},
"name": "dis__SendRecords"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| records | Yes | 待上传的记录列表。 | |
| stream_id | No | 通道唯一标识符。 | |
| project_id | Yes | 项目ID。 | |
| stream_name | Yes | 已创建的通道名称。 |