Giter Site home page Giter Site logo

oslabs-beta / kafkapeek Goto Github PK

View Code? Open in Web Editor NEW
51.0 5.0 4.0 4 MB

KafkaPeek is an open-source application designed to help developers visualize, monitor, and stay up-to-date on their Kafka deployments

License: Mozilla Public License 2.0

JavaScript 86.39% HTML 1.68% SCSS 11.92%
grafana kafka kafkajs nodejs prometheus react react-router socket-io websockets

kafkapeek's Introduction

KafkaPeek Logo

KafkaPeek

KafkaPeek is a developer tool that monitors key metrics in your local Kafka deployment.

Key Health Metrics Tracked

  • Bytes In Per Sec
  • Bytes Out Per Sec
  • JVM Heap Usage (MB)
  • Under Replicated Partitions
  • Offline Partition Count
  • Active Controller Count
  • Brokers Running

Key Performance Metrics Tracked

  • Requests Per Sec
  • Request Total Time (s)
  • Request Queue Time (ms)
  • Response Send Time (ms)

Tech Stack

Client: React, React Router, ApexCharts, Socket.io

Server: Node, Express, Socket.io KafkaJS

DevOps: Apache Kafka, Prometheus, JMX Exporter, Grafana, Docker, Git, Github

Features

  • Live monitoring of key health metrics of a Kafka Broker
  • Secured login through Github OAuth
  • Slack alerts if metrics go beyond user set specifications
  • Customization of dashboard metrics based on the organizations needs
  • Ability to save graphs in real time

Installation

Install KafkaPeek with npm to install all dependencies

  npm install

Deployment

To deploy this project run the following commands in the terminal:

  1. Deploy your kafka cluster
  docker-compose up
  1. In a new terminal window, deploy the producer:
  npm run start:producer
  1. In a new terminal window, deploy the consumer:
  npm run start:consumer
  1. In a new terminal window, deploy the application on:

Deploy application on dev server (localhost:8080)

  npm run dev

OR

Deploy application on production server (localhost:4000)

  npm run build

then

  npm start

Now you have a fully functioning Kafka broker with one demo producer and consumer.

Demo

Main Dashboard

Alt Text

Slack Notifications

Alt Text

Running Tests

To run tests, run the following command

  npm run test socketIOtest.js
  npm run test supertest.js

Roadmap

  • Web Based Application
  • Customized Developer Options
  • Github OAuth Authentication
  • User Account Information
  • User Settings
  • NoSql Database - Error Logs/Accounts/Archived Metrics

Acknowledgements

Authors

kafkapeek's People

Contributors

dnagpal1 avatar juanpakang avatar luis-e-navarro avatar nick-echevarria avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  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.