kafka__ShowInstanceMessages
Query and inspect Kafka message offsets and content by topic, partition, time range, or keyword, with paging and download controls.
Instructions
[KAFKA] 查询消息的偏移量和消息内容。
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": {
"instance_id": "<instance_id>",
"project_id": "<project_id>",
"topic": "<topic>"
},
"name": "kafka__ShowInstanceMessages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asc | No | 是否按照时间排序。 | |
| limit | No | 每一页显示的message数量。 | |
| topic | Yes | Topic名称。 | |
| offset | No | 页数。 | |
| keyword | No | 关键词。 | |
| download | No | 是否下载。 | |
| end_time | No | 结束时间。 | |
| partition | No | 分区。 | |
| project_id | Yes | 项目ID,获取方式请参见[获取项目ID](kafka-api-0036212547.xml)。 | |
| start_time | No | 开始时间。 | |
| instance_id | Yes | 实例ID。 | |
| message_offset | No | 消息偏移量。 |