Kafka Consumer Lag Checking
Перейти к файлу
Todd Palino acad38ca61 Explicitly close broker connection on error 2016-01-29 14:00:54 -08:00
config Added support of monitoring Apache Storm created offsets 2015-11-12 20:46:54 -08:00
.gitignore Ignore log directory 2015-07-30 10:41:20 -07:00
Godeps gcfg moved to gopkg.in 2015-11-03 12:59:06 -08:00
LICENSE Initial commit 2015-06-02 06:03:10 -07:00
NOTICE Initial commit 2015-06-02 06:03:10 -07:00
README.md Added support of monitoring Apache Storm created offsets 2015-11-12 20:46:54 -08:00
config.go Merge branch 'master' of https://github.com/linkedin/Burrow 2015-12-20 08:01:50 -08:00
debug.go Initial commit 2015-06-02 06:03:10 -07:00
emailer.go fix typo in emailer.go 2015-09-18 14:57:20 +09:00
helpers.go Add a template helper for categorizing topics by status code. Move helpers to a separate file 2015-10-02 16:32:36 -07:00
http_notifier.go Make the error log messages more informative 2016-01-29 14:00:31 -08:00
http_server.go fix handling of a ZK path config for a cluster that is just the root path 2015-11-06 13:02:50 -08:00
kafka_client.go Explicitly close broker connection on error 2016-01-29 14:00:54 -08:00
logger.go Initial commit 2015-06-02 06:03:10 -07:00
main.go Formatting fixes 2015-12-20 08:01:05 -08:00
offsets_store.go Add a check for ZK consumers on slow topics to prevent them being marked as stopped incorrectly 2015-12-21 11:37:31 -08:00
storm.go Formatting fixes 2015-12-20 08:01:05 -08:00
zookeeper.go Minor cleanup of unnecessary tests 2015-10-21 16:10:13 -07:00

README.md

Burrow - Kafka Consumer Lag Checking

Burrow is a monitoring companion for Apache Kafka that provides consumer lag checking as a service without the need for specifying thresholds. It monitors committed offsets for all consumers and calculates the status of those consumers on demand. An HTTP endpoint is provided to request status on demand, as well as provide other Kafka cluster information. There are also configurable notifiers that can send status out via email or HTTP calls to another service.

Features

  • NO THRESHOLDS! Groups are evaluated over a sliding window.
  • Multiple Kafka Cluster support
  • Automatically monitors all consumers using Kafka-committed offsets
  • Configurable support for Zookeeper-committed offsets
  • Configurable support for Storm-committed offsets
  • HTTP endpoint for consumer group status, as well as broker and consumer information
  • Configurable emailer for sending alerts for specific groups
  • Configurable HTTP client for sending alerts to another system for all groups

Getting Started

Prerequisites

Burrow is written in Go, so before you get started, you should install and set up Go.

If you have not yet installed the Go Package Manager, please go over there and follow their short installation instructions. GPM is used to automatically pull in the dependencies for Burrow so you don't have to chase them all down.

Build and Install

$ go get github.com/linkedin/burrow
$ cd $GOPATH/src/github.com/linkedin/burrow
$ gpm install
$ go install

Running Burrow

$ $GOPATH/bin/burrow --config path/to/burrow.cfg

Configuration

For information on how to write your configuration file, check out the detailed wiki

License

Copyright 2015 LinkedIn Corp. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.