All Projects → otoolep → Stormkafkamon

otoolep / Stormkafkamon

Licence: apache-2.0
Dumps state of Storm Kafka consumers

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Stormkafkamon

Azure Event Hubs For Kafka
Azure Event Hubs for Apache Kafka Ecosystems
Stars: ✭ 124 (+25.25%)
Mutual labels:  kafka, apache
Bigdata Notes
大数据入门指南 ⭐
Stars: ✭ 10,991 (+11002.02%)
Mutual labels:  kafka, storm
Azure Event Hubs Spark
Enabling Continuous Data Processing with Apache Spark and Azure Event Hubs
Stars: ✭ 140 (+41.41%)
Mutual labels:  kafka, apache
Streamline
StreamLine - Streaming Analytics
Stars: ✭ 151 (+52.53%)
Mutual labels:  kafka, storm
Kafka Storm Starter
Code examples that show to integrate Apache Kafka 0.8+ with Apache Storm 0.9+ and Apache Spark Streaming 1.1+, while using Apache Avro as the data serialization format.
Stars: ✭ 728 (+635.35%)
Mutual labels:  kafka, storm
Spring Boot 2.x Examples
Spring Boot 2.x code examples
Stars: ✭ 104 (+5.05%)
Mutual labels:  kafka, storm
Registry
Schema Registry
Stars: ✭ 184 (+85.86%)
Mutual labels:  kafka, storm
Bigdata Notebook
Stars: ✭ 100 (+1.01%)
Mutual labels:  kafka, storm
Kafka Sprout
🚀 Web GUI for Kafka Cluster Management
Stars: ✭ 388 (+291.92%)
Mutual labels:  kafka, apache
Wirbelsturm
Wirbelsturm is a Vagrant and Puppet based tool to perform 1-click local and remote deployments, with a focus on big data tech like Kafka.
Stars: ✭ 332 (+235.35%)
Mutual labels:  kafka, storm
Recommendsys
推荐项目(实时推荐和离线推荐)
Stars: ✭ 198 (+100%)
Mutual labels:  kafka, storm
Burrowui
This is a NodeJS/Angular 2 frontend UI for Kafka cluster monitoring with Burrow
Stars: ✭ 69 (-30.3%)
Mutual labels:  kafka, apache
Storm Dynamic Spout
A framework for building spouts for Apache Storm and a Kafka based spout for dynamically skipping messages to be processed later.
Stars: ✭ 40 (-59.6%)
Mutual labels:  kafka, storm
Kafka Study
关于kafka的一些相关使用示例代码。
Stars: ✭ 84 (-15.15%)
Mutual labels:  kafka, storm
Mecha
Mecha is a free flat-file content management system that carries the concept of minimalism.
Stars: ✭ 88 (-11.11%)
Mutual labels:  apache
Streamx
kafka-connect-s3 : Ingest data from Kafka to Object Stores(s3)
Stars: ✭ 96 (-3.03%)
Mutual labels:  kafka
Alpakka Kafka
Alpakka Kafka connector - Alpakka is a Reactive Enterprise Integration library for Java and Scala, based on Reactive Streams and Akka.
Stars: ✭ 1,295 (+1208.08%)
Mutual labels:  kafka
Filodb
Distributed Prometheus time series database
Stars: ✭ 1,286 (+1198.99%)
Mutual labels:  kafka
Straw
A platform for real-time streaming search
Stars: ✭ 98 (-1.01%)
Mutual labels:  storm
Kafka Php
kafka php client
Stars: ✭ 1,340 (+1253.54%)
Mutual labels:  kafka

stormkafkamon

stormkafkamon dumps the state of Apache Storm Kafka consumer spouts, showing how far behind each is behind, relative to the Kafka partition it is consuming. Once running it presents output like so:

monitor.py --zserver zookeeper0 --topology  NoBoltsTopology --spoutroot testroot --friendly
+--------+-------+-----------+----------+-------------+--------+------------------------+-------------+----------+
| Broker | Topic | Partition | Earliest |    Latest   | Depth  |         Spout          |   Current   |  Delta   |
+--------+-------+-----------+----------+-------------+--------+------------------------+-------------+----------+
| kafka0 |  raw  |     0     |    0     | 12044626844 | 11.2GB | kafkaspout--61816062-0 | 12044445134 | 177.5KB  |
| kafka0 |  raw  |     1     |    0     | 12020309626 | 11.2GB | kafkaspout--61816062-0 | 12019988928 | 313.2KB  |
| kafka0 |  raw  |     2     |    0     | 12049894170 | 11.2GB | kafkaspout--61816062-0 | 12049312832 | 567.7KB  |
| kafka0 |  raw  |     3     |    0     | 12059079262 | 11.2GB | kafkaspout--61816062-0 | 12059079262 | 0.0bytes |
| kafka1 |  raw  |     0     |    0     | 12074374700 | 11.2GB | kafkaspout--61816062-0 | 12074200350 | 170.3KB  |
| kafka1 |  raw  |     1     |    0     | 12105806506 | 11.3GB | kafkaspout--61816062-0 | 12105806506 | 0.0bytes |
| kafka1 |  raw  |     2     |    0     | 12059575506 | 11.2GB | kafkaspout--61816062-0 | 12059258012 | 310.1KB  |
| kafka1 |  raw  |     3     |    0     | 12116313670 | 11.3GB | kafkaspout--61816062-0 | 12115976730 | 329.0KB  |
+--------+-------+-----------+----------+-------------+--------+------------------------+-------------+----------+

Number of brokers:       2
Number of partitions:    8
Total broker depth:      89.9GB
Total delta:             1.8MB

This tool could be used to perform simple monitoring of spout throughput.

Tested against Kafka 0.72 and Storm 0.82 (along with associated Kafka spout from storm-contrib), running on Ubuntu 12.04.

Requirements

After cloning, run pip install stormkafkamon, or just

pip install https://github.com/otoolep/stormkafkamon/zipball/master

Program implementation

The code iterates through all Spout entries in Zookeeper, and retrieves all details. It then contacts each Kafka broker listed in those details, and queries for the earliest available offset, and latest, of each partition. This allows it to display the details shown in the example.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].