GithubHelp home page GithubHelp logo

nubank / burrow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from linkedin/burrow

1.0 1.0 0.0 993 KB

Kafka Consumer Lag Checking

License: Apache License 2.0

Go 99.82% Makefile 0.11% Dockerfile 0.08%

burrow's Introduction

Join the chat at https://gitter.im/linkedin-Burrow/Lobby Build Status go report card Coverage Status GoDoc

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. As the dependencies are managed using Go module, the lowest version of Go supported is 1.11, though we recommend using version 1.12 for development.

Build and Install

$ Clone github.com/linkedin/Burrow to a directory outside of $GOPATH. Alternatively, you can export GO111MODULE=on to enable Go module.
$ cd to the source directory.
$ go mod tidy
$ go install

Running Burrow

$ $GOPATH/bin/Burrow --config-dir /path/containing/config

Using Docker

A Docker file is available which builds this project on top of an Alpine Linux image. To use it, build your docker container, mount your Burrow configuration into /etc/burrow and run docker.

A Docker Compose is also available for quick and easy development.

Install Docker Compose and then:

  1. Build the docker container:

    docker-compose build
    
  2. Run the docker compose stack which includes kafka and zookeeper:

    docker-compose down; docker-compose up
    
  3. Some test topics have already been created by default and Burrow can be accessed on http://localhost:8000/v3/kafka.

Configuration

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

License

Copyright 2017 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.

burrow's People

Contributors

bai avatar toddpalino avatar jsvisa avatar d1egoaz avatar timbertson avatar markrileybot avatar rjh-yext avatar rconn01 avatar ms7s avatar lukkie avatar vixns avatar dependabot[bot] avatar poslegm avatar lawrencemq avatar jbvmio avatar jantebeest avatar hoesler avatar vvuibert avatar vas78 avatar matsu-chara avatar cvtjnii avatar lins05 avatar sahilthapar avatar mlongob avatar jyates avatar cm-cnnxty avatar dpippenger avatar ctrochalakis avatar toff63 avatar cga1123 avatar

Stargazers

António Pedro avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.