dis__CommitCheckpoint
Submits a checkpoint for a DIS stream partition to record a consumer app's sequence number and track read progress.
Instructions
[DIS] 本接口用于提交Checkpoint。
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>",
"partition_id": "<partition_id>",
"project_id": "<project_id>",
"sequence_number": "<sequence_number>",
"stream_name": "<stream_name>"
},
"name": "dis__CommitCheckpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_name | Yes | APP的名称,用户数据消费程序的唯一标识符,需要先通过创建App接口创建。 | |
| metadata | No | 用户消费程序端的元数据信息。 | |
| project_id | Yes | 项目ID。 | |
| stream_name | Yes | 已创建的通道名称。 | |
| partition_id | Yes | 通道的分区标识符。 | |
| checkpoint_type | Yes | Checkpoint类型。 | |
| sequence_number | Yes | 需要提交的序列号,用来记录该通道的消费检查点,需要保证该序列号处于有效范围内。 |