Kafka Consumer Lag Checking
Перейти к файлу
AJ Bourg cd2f05ce56 Log an error message when we encounter trouble with getting leader information. 2016-05-11 15:01:38 -06:00
config Added support of monitoring Apache Storm created offsets 2015-11-12 20:46:54 -08:00
.gitignore Add Intellij project files to gitignore 2016-05-06 11:24:50 -07:00
CHANGELOG.md Fix an issue where maxlag partition is selected badly 2016-05-02 22:19:30 -07:00
Godeps Update Sarama to 1.8.0 release version for TLS support 2016-05-06 11:25:51 -07: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 FIX: if 'clientprofile' not configed, app.Config.Clientprofile is nil, need to make one before 2016-05-09 12:02:27 +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 total lag calculation for the consumer 2016-05-01 20:57:26 -07:00
http_notifier.go Merge branch 'master' of https://github.com/linkedin/Burrow 2016-05-01 20:58:15 -07: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 Log an error message when we encounter trouble with getting leader information. 2016-05-11 15:01:38 -06: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 Fix an issue where maxlag partition is selected badly 2016-05-02 22:19:30 -07:00
storm.go Fix function call issue in storm 2016-03-03 15:29:23 -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.