kafkaspectre — Kafka cluster auditor for unused topics and drift. Part of SpectreHub.
- Connects to Kafka and identifies unused, orphaned, and misconfigured topics
- Scans code repositories for topic references and compares against live cluster state
- Risk-scores cleanup recommendations by partition count and replication factor
- Detects consumer group lag and abandoned consumers
- Outputs text, JSON, SARIF, and SpectreHub formats
- Not a monitoring dashboard — point-in-time auditor
- Not a consumer lag alerting system
- Not a topic management UI
- Not a replacement for Kafka's built-in admin tools
brew tap ppiankov/tap
brew install kafkaspectregit clone https://github.com/ppiankov/kafkaspectre.git
cd kafkaspectre
make buildkafkaspectre audit --brokers localhost:9092 --format json| Command | Description |
|---|---|
kafkaspectre audit |
Audit cluster for unused and misconfigured topics |
kafkaspectre check |
Compare code topic references against live cluster |
kafkaspectre version |
Print version |
kafkaspectre feeds Kafka cluster findings into SpectreHub for unified visibility across your infrastructure.
spectrehub collect --tool kafkaspectrekafkaspectre operates in read-only mode. It inspects and reports — never modifies, deletes, or alters your topics.
| Document | Contents |
|---|---|
| CLI Reference | Full command reference, flags, and configuration |
MIT — see LICENSE.
Built by Obsta Labs