Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitor Kafka Consumer Partition Offsets in Zookeeper

Simple golang based (kazoo-go and sarama) application to monitor Kafka offsets stored in Zookeeper, and calculate lag based on current Kafka partition sizes. Output is modeled after the official kafka.tools.ConsumerOffsetChecker.

Install

go install github.com/guildencrantz/kazoo-offsets

Run

For current execution flags see kazoo-offsets -h

In general if you're using CLI flags the pattern is:

kazoo-offsets -zookeeper $(ZK_HOST):2181 -group-id $(KAFKA_GROUP_ID) -topic $(KAFKA_TOPIC)

If you want the values to update I highly recommend using watch

watch -n 5 kazoo-offsets -zookeeper $(ZK_HOST):2181 -group-id $(KAFKA_GROUP_ID) -topic $(KAFKA_TOPIC)

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages