Skip to content

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

License

Notifications You must be signed in to change notification settings

rogeriob2br/capitalist-kafka

 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 96.7%
  • Dockerfile 3.3%