kafka-eagle

Used to monitor the consumer status of Kafka clusters, as well as offsets, metadata and other information.

  • 所有者: smartloli/Kafka-Eagle-Wiki
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

Build Status

codebeat badge
Hex.pm

Kafka Eagle

This is an monitor system and monitor your kafka clusters, and visual consumer thread,offsets,owners etc.

When you install Kafka Eagle, you can see the current consumer group,for each group the topics that they are consuming and the offsets, lag, logsize position of the group in each topic. This is useful to understand how fast you are consuming from a message queue and how quick the message queue is increase. This will help you debuging kafka producers and consumers or just to have an idea of what is going on in your system.

The system shows the trend of consumer and producer trends on the same day, so you can see what happened that day.

Supported on kafka version: 0.8.2.x,0.9.x,0.10.x,0.11.x,1.x,2.x .

Supported platform: Mac OS X,Linux,Windows.

Supported JDK: JDK8+

Here are a few Kafka Eagle system screenshots:

Big Screen Support

BScreen

Alert Support

In addition to supporting email alerts, Kafka Eagle also supports im alerts, such as DingDing and WeChat.
DingDing Alert
WeChat Alert

List of Consumer Groups & Active Group Graph

Consumer & Active Graph

List of Topics Detail

Topics

Consumer & Producer Rate Chart

Rate Chart

Start Kafka Eagle

KE Script

Kafka Offset Types

Kafka is designed to be flexible on how the offsets are managed. Consumer can choose arbitrary storage and format to persist kafka offsets. Kafka Eagle currently support following popular storage format:

  • Zookeeper. Old version of Kafka (0.8.2 before) default storage in Zookeeper.
  • Kafka. New version of Kafka (0.10.0 in the future) default recommend storage in Kafka Topic(__consumer_offsets).

Kafka Eagle supports multiple offset storage paths. If you store them in Zookeeper and Kafka, you can configure them like this.

# Set kafka cluster alias
kafka.eagle.zk.cluster.alias=cluster1,cluster2

# Set kafka cluster zookeeper address
cluster1.zk.list=xdn1:2181,xdn2:2181,xdn3:2181
cluster2.zk.list=tdn1:2181,tdn2:2181,tdn3:2181

# Set kafka cluster offset storage path
cluster1.kafka.eagle.offset.storage=kafka
cluster2.kafka.eagle.offset.storage=zookeeper

Kafka SQL

Use the SQL statement to query the topic message log, and visualize the results, you can read Kafka SQL to view the syntax.
For example, if you kafka has a topic with three partitions, the ksql query statement is as follows.

select * from "kafka_topic_name" where "partition" in (0,1,2) limit 10

Quickstart

Please read Kafka Eagle Install for setting up and running Kafka Eagle. It is worth noting that, please use chrome to access Kafka Eagle.

Deploy

The project is a maven project that uses the Maven command to pack the deployment as follows:

./build.sh

More Information

Please see the Kafka Eagle Manual for for more information including:

  • System environment settings and installation instructions.
  • Information about how to use script command.
  • Visual group,topic,offset metadata information etc.
  • Metadata collection and log change information.

Contributing

The Kafka Eagle 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.

Since this is an open source tool, please comply with the relevant laws and regulations, the use of civilization.

Kafka Eagle PDF

Kafka Eagle Architecture PDF

Contributors

Thanks to the following members for maintaining the project., Alias, Github, Email, :--, :--, :--, smartloli, smartloli, smartloli.org@gmail.com, hexiang, hexian55, hexiang55@gmail.com, cocodroid, cocodroid, sujunguang@gmail.com, alisa, alisa, alisazou1211@gmail.com, iamwzt, iamwzt, 981911861@qq.com

主要指標

概覽
名稱與所有者smartloli/Kafka-Eagle-Wiki
主編程語言
編程語言Java (語言數: 0)
平台
許可證
所有者活动
創建於2016-08-26 03:14:22
推送於2020-04-21 16:29:44
最后一次提交2020-04-21 16:26:48
發布數0
用户参与
星數11
關注者數6
派生數5
提交數162
已啟用問題?
問題數3
打開的問題數0
拉請求數0
打開的拉請求數0
關閉的拉請求數0
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?