consumer_lag
Check per-partition lag for a consumer group on a topic by comparing committed offsets against log-end offsets; a committed offset of -1 indicates no stored offset.
Instructions
Per-partition lag for a consumer group on a topic: committed offset vs log-end offset. committed = -1 means no offset stored.
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": {
"group": "<group>",
"topic": "<topic>"
},
"name": "consumer_lag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | Yes | ||
| topic | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |