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
,1.x
,2.x
.
Supported platform: Mac OS X
,Linux
,Windows
.
Here are a few Kafka Eagle system screenshots:
In addition to supporting email
alerts, Kafka Eagle also supports im alerts, such as DingDing
and WeChat
.
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
Use the SQL statement to query the topic message log, and visualize the results, you can read Kafka SQL to view the syntax.
Please read Kafka Eagle Install for setting up and running Kafka Eagle. It is worth noting that, please use chrome
to access Kafka Eagle.
The project is a maven project that uses the Maven command to pack the deployment as follows:
./build.sh
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.
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.
Thanks to the following members for maintaining the project.
Alias | Github | |
---|---|---|
smartloli | smartloli | [email protected] |
hexiang | hexian55 | [email protected] |
cocodroid | cocodroid | [email protected] |
alisa | alisa | [email protected] |