kafka_consumer_group_lag
Monitor Kafka consumer group lag by retrieving per-partition offsets, end offsets, and lag metrics. Identifies partitions with non-zero lag to help troubleshoot consumption delays.
Instructions
Get consumer lag for a specific consumer group — per-partition offset, end offset, and lag. Highlights partitions with non-zero lag.
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": {
"cluster_name": "<cluster_name>",
"group_id": "<group_id>"
},
"name": "kafka_consumer_group_lag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_name | Yes | The Kafka cluster name. | |
| group_id | Yes | The consumer group ID. |