Help us shape the future of Go! Take the 2026 Go Developer Survey

kafkaspectre

module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: MIT

README

KafkaSpectre

CI Go Version License

KafkaSpectre is a Go-based Kafka cluster auditor that identifies unused, orphaned, and misconfigured topics. It connects to your Kafka cluster to analyze topic metadata, consumer groups, and partition usage, providing risk-based cleanup recommendations.

Status

  • Phase 1 (Audit): ready
  • Phase 2 (Check): planned

Installation

From source
git clone https://github.com/ppiankov/kafkaspectre.git
cd kafkaspectre
make build

Binary will be at bin/kafkaspectre.

Binary releases

Coming soon.

Usage

Audit
./bin/kafkaspectre audit --bootstrap-server localhost:9092
Check (coming soon)
./bin/kafkaspectre check --repo ./my-app --bootstrap-server localhost:9092

See docs/cleanup-guide.md for the full cleanup workflow.

Architecture

┌─────────────┐    ┌──────────────┐    ┌─────────────┐    ┌──────────────┐
│   Scanner   │───▶│   Analyzer   │───▶│   Scorer    │───▶│   Reporter   │
│ (Static)    │    │  (Matching)  │    │ (Status)    │    │ (JSON/Text)  │
└─────────────┘    └──────────────┘    └─────────────┘    └──────────────┘
       │                   │
       ▼                   ▼
┌─────────────┐    ┌──────────────┐
│ Repo Files  │    │ Kafka Client │
│ (Topic Refs)│    │ (Metadata)   │
└─────────────┘    └──────────────┘

License

MIT License — see LICENSE.

Directories

Path Synopsis
cmd
kafkaspectre command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL