omarsmak / kafka-consumer-lag-monitoring

Client tool that exports the consumer lag of Kafka consumer groups to Prometheus or your terminal
MIT License
50 stars 13 forks source link

Refactor the logic of the output methods for the client #1

Closed omarsmak closed 5 years ago

omarsmak commented 5 years ago

Currently the implementation of the Console and Prometheus are very fixed, meaning that if in case of adding new output method, there will be many redundant code, hence it makes sense to rethink the logic there and add some abstraction in order to allow to have easier extendibility for additional output methods

omarsmak commented 5 years ago

Output logic has been refactored in version 0.0.3