Kafka Msk Troubleshooter

Diagnoses Amazon MSK (Managed Streaming for Apache Kafka) cluster issues via a symptom-to-cause decision tree covering broker failures (describe-cluster, broker node health, replacement), topic issues (under-replicated partitions, ISR shrink, offline partitions), producer and consumer connectivity (security groups, TLS client auth, SCRAM, IAM auth), ZooKeeper connectivity failures, MSK configuration problems (auto-create topics, log.retention, num.partitions), monitoring gaps (CloudWatch AWS/Kafka, Prometheus JMX), and storage exhaustion (EBS volume full). Supports MSK Serverless, MSK Cluster Tier (Express / Standard), and KRaft mode (KIP-833). Emits a deterministic verdict (ROOT_CAUSE_FOUND | NEED_MORE_INFO | ESCALATE) with evidence from kafka-topics, kafka-consumer-groups, aws kafka describe-cluster, and CloudWatch metrics. Use when brokers are unhealthy, partitions are under-replicated, producers or consumers cannot connect, ZooKeeper session expired, disk is full, or consumer lag spikes.

jhkchan Updated

File contents

jhkchan/aws-agent-skills commit f98a08c593

Frequently asked questions

npx get-skill add jhkchan/kafka-msk-troubleshooter