dis__ShowConsumerState
Queries the consumption state of a specified app on a DIS stream, returning partition checkpoint data to help monitor reading progress.
Instructions
[DIS] 本接口用于查询APP消费状态。
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": {
"app_name": "<app_name>",
"checkpoint_type": "<checkpoint_type>",
"project_id": "<project_id>",
"stream_name": "<stream_name>"
},
"name": "dis__ShowConsumerState"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 单次请求返回的最大分区数。最小值是1,最大值是1000;默认值是100。 | |
| app_name | Yes | 需要查询的App名称。 | |
| project_id | Yes | 项目ID。 | |
| stream_name | Yes | 需要查询的通道名称。 | |
| checkpoint_type | Yes | Checkpoint类型。 | |
| start_partition_id | No | 从该分区值开始返回分区列表,返回的分区列表不包括此分区。 |