What problem does it solve? Investigating Kafka issues during an incident usually requires juggling CLI tools and remembering admin commands. This Skill provides ready-to-run Python scripts that report broker health, topic configuration, consumer group membership, and consumer lag in structured JSON, so you can diagnose streaming pipeline problems quickly. ## Core Features & Use Cases - Broker and Cluster Health Checks: Retrieve cluster ID, controller, and broker inventory as the mandatory first step of any investigation. - Topic Inspection: List topics and describe partitions, replication, configs, and per-partition offsets, including under-replicated partition detection. - Consumer Lag Analysis: Compute per-partition lag with automatic health classification (healthy, minor_lag, lagging, severely_lagging). - Use Case: During an outage, run the broker info script, list consumer groups, then check lag for the affected group to determine whether consumers are stuck or the cluster itself is unhealthy. ## Quick Start Ask the agent to check the consumer lag for a specific Kafka consumer group and report whether it is healthy.