rogeriob2br / capitalist-kafka

The Capitalist, helping you produce only what your consumers can consume ! Don't waste your events, know when you need more consumers.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Capitalist Kafka

Build Status

We live in a capitalist world, so you should rely on The Capitalist to help you survive on this savage world.

The Capitalist will help you to ensure that everything you produces will have a consumer to consume, so you will know if you're wasting resources and then you will be able to act !

The Capitalist, a cloud-enabled kafka lag exporter. Written in Rust to be blazingly fast !

How it works?

  • Consume the __consumer_offsets topic.
  • For each consumed event it will fetch the topic highwatermark.
  • Calculate the lag for the consumer group, topic and partitions !
  • Expose metrics on the /metrics endopoint, using Prometheus format.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Warning ! Is just a pet project, don't use in production.

About

The Capitalist, helping you produce only what your consumers can consume ! Don't waste your events, know when you need more consumers.

License:Other


Languages

Language:Rust 96.7%Language:Dockerfile 3.3%