kafka_topic_info
Inspect Kafka topics to get partition details, replication health, and retention warnings. Diagnose writes failing or degraded conditions based on ISR versus min.insync.replicas.
Instructions
Get topic details: partitions, replicas, ISR, configs, and health diagnosis.
Checks replication health:
ISR < min.insync.replicas = writes FAILING (critical)
ISR < replication.factor but >= min.insync.replicas = degraded (warning)
Retention policy info (size-based deletion warnings)
Args: topic: Topic name to inspect
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": {
"topic": "<topic>"
},
"name": "kafka_topic_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |