dis__CreateStream
Creates a DIS stream (channel) for data ingestion, with configurable partitions, data type, retention, compression, auto-scaling, and tags.
Instructions
[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_count": "<partition_count>",
"project_id": "<project_id>",
"stream_name": "<stream_name>"
},
"name": "dis__CreateStream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | 通道标签列表。 | |
| sys_tags | No | 通道企业项目列表。 | |
| data_type | No | 源数据类型。 | |
| project_id | Yes | 项目ID。 | |
| data_schema | No | 用于描述用户JSON、CSV格式的源数据结构,采用Avro Schema的语法描述。 | |
| stream_name | Yes | 通道名称。 | |
| stream_type | No | 通道类型。 | |
| data_duration | No | 数据保留时长。 | |
| csv_properties | No | CSV 格式数据的相关属性,比如分隔符 delimiter | |
| partition_count | Yes | 分区数量。 | |
| auto_scale_enabled | No | 是否开启自动扩缩容。 | |
| compression_format | No | 数据的压缩类型,目前支持: | |
| auto_scale_max_partition_count | No | 当自动扩缩容启用时,自动扩容的最大分片数。 | |
| auto_scale_min_partition_count | No | 当自动扩缩容启用时,自动缩容的最小分片数。 |