Skip to content

A standalone spring boot app for reporting kafka consumer group lag metrics to prometheus

License

Notifications You must be signed in to change notification settings

feli6/kafka-consumer-lag-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Kafka consumer lag reporting using prometheus

A standalone spring boot app for reporting kafka consumer group lag metrics to prometheus. Tested with Kafka 1.0

Prometheus scrape endpoint: http://host:port/actuator/prometheus-kafka

Following properties are required: kafka.brokers= broker urls kafka.consumerGroups= list of consumer groups separated by comma

The properties can be configured from the web/src/main/resources/application.properties file. If you are using docker, these properties can be overridden using the following environment variables.

KAFKA_BROKERS & KAFKA_CONSUMER_GROUPS

The docker image is available on docker hub

docker pull feli6/kafka-consumer-lag-reporter

About

A standalone spring boot app for reporting kafka consumer group lag metrics to prometheus

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published