Skip to content

triffic-tang/AnotherKafkaMonitor-AKM-

Repository files navigation

AnotherKafkaMonitor

STATUS

Build Status

ENV

  • scala-2.10.*
  • kafka-0.10.*
  • zookeeper-3.4.6

RELEASE INFO


Table Of Contents


Also you can take a quick look before take action(SOME ADDITIONAL INFO), CLICK->Anotherkafkamonitor Manul Book


Inspiration

AnotherKafkaMonitor is an app which used to monitor kafka producer and consumer progress inspried by KafkaOffsetMonitor. It aims to help you figure out what's going on in your kafka cluster, that's to say, to understand how fast the producer send message to the kafka or whether the consumer is far behind the producer or not, if lag exceeds threshold, you will be noticed through alarm email or sms.

Kafka DataStructure In Zookeeper

The Implementation Of AnotherKafkaMonitor Relys On the Datastructure of Kafka In Zookeeper Kafka DataStructure In Zookeeper

How To Install

Several ways can be taken if you want to try

  1. Extract AnotherKafkaMonitor.war into default folder called AnotherKafkaMonitor;
  1. Edit file which located in path of \AnotherKafkaMonitor\WEB-INF\classes\system-config.properties, In corresponding with your Zookeeper and Kafka Cluster Environment;
  2. Move folder AnotherKakfaMonitor to <TOMCAT_HOME>\webapp;
  3. Start tomcat, type http://localhost:<TOMCAT_HTTP_PORT>/AnotherKafkaMonitor into browser, please enjoy.
  • Maybe you want to make some change for your taste.
  1. Download the zip file;
  1. Import into your IDE, like Eclipse or others as you like.

Quick Look

Now, we are going to show you some screenshot of main featrues about AnotherKafkaMonitor

1. DashBoard

Dashboard lists some general info:

  • How many kafka Brokers, Topics, Zookeepers and Consumers you hava in cluster DashBoard

2. Topic List

  • List Topics you have created;
  • List Partition Indexes of each topic. Topic List

3. Cluster Info

  • Kafka Broker List
  • Zookeeper List Cluster Info

4. Consumers

  • List how many consumer group you have
  • The topic(s) consumed by each consumer group
  • RealTime process rate about producer and consumer of one topic Consumers Topic Detail Topic Realtime

5. Alarm Configuration

  • Alarm notice list
  • Add alarm notice Alarm List

6. Zookeeper Client

Support simple shell comand, such as ls, get and delete

Zookeeper Client

Difference

We are going to list the difference between KafkaOffsetMonitor and AnotherKafkaMonitor

  • AnotherKafkaMonitor is much lightweight compared with KafkaOffsetMonitor;
  • AnotherKafkaMonitor is implemented by Java, Not Scala which KafkaOffsetMonitor be implemented.

Future Plan

We are going to make some big step in the future, like below(JUST FOR NOW):

  • Add SMS notice module[DONE];
  • Support more shell command in the future
  • ...

Contributing

The AnotherKafkaMonitor is released under the Apache License and we welcome any contributions within this license. Any pull request is welcome and will be reviewed and merged as quickly as possible.