Back to browse
GitHub Repository

New avatar of the Chargeback Engine Framework - Highly extensible, multi system support.

44 starsPython

Chitragupta Kafka Identity and topic level cost attribution

by Pancake9738·Apr 16, 2026·1 point·0 comments

AI Analysis

●●●BangerNiche GemBig Brain

Finally, topic-level Kafka cost attribution without Confluent's enterprise pricing.

Strengths
  • Topic-level attribution using Prometheus metrics breaks down cluster costs precisely
  • Plugin architecture supports Confluent Cloud, self-managed Kafka, and custom ecosystems
  • V2 rewrite delivers 4-10x performance improvement with SQLite persistence
Weaknesses
  • Topic attribution only works with Confluent Cloud, not self-managed Kafka
  • Niche audience limits broader adoption beyond Kafka platform teams
Target Audience

Platform engineers managing multi-tenant Kafka clusters

Similar To

Confluent Cloud Billing · CloudHealth · Kubecost

Post Description

I’ve been working on this tool on and off for a while, and I recently got it back into a shape that feels ready to share.

It’s an open-source cost attribution tool for Kafka systems that supports both identity-level and topic-level attribution. The original version focused only on identity-level attribution using Confluent Cloud API and metrics data. In v2, I expanded it to support topic-level attribution as well.

The backend is Python/FastAPI, and the frontend is React. Compared to v1, which was fully in-memory and depended on Prometheus and Grafana for retention and visualization, v2 adds SQLite-backed persistence, an evolving REST API, and a plugin-based architecture for extending to other ecosystems.

No signups, free to use, and fully open source. I’d appreciate feedback, especially from people who deal with Kafka platform ownership, multi-tenancy, or chargeback/showback problems. I’m actively working on it, and I’d be glad to hear about bugs, gaps, or features that would make it more useful.

Similar Projects