Kafka visualization tools (Tool Kafka)

Kafka visualization tools


Use Kafka's junior partner, there is Kafka could not visualize the contents of the Topic and sent a worry about it?

Here to recommend a page with visualization tools Kafka: Kafka Tool (the latest version is 2.0.4 )

 

Kafka Tool Download

download link

http://www.kafkatool.com/download.html

 

Download interface

Different versions of the tools corresponding to different versions of Kafka, personal use is 0.11, so download the latest version 2.0.4

 

If you're on Windows, click on the exe file, a key installation.


 

Kafka Tool tool

1, Kafka connection configuration

1) Start Kafka Tool

In the installation directory, double-click the executable file  kafkatool.exe , start Kafka Tool

 

 

2) connected to the configuration information Kafka

Prompted to configure the respective connection information

 

Red box in order to fill in information, click on the "Ping" and "Test" to test the connection, the test passes, click "Add" to add

 

2, see Kafka data

1) Check Kafka data

Select a Topic -> Data, click the query to see data (but Key and Message is binary, can not see a specific message information intuitive, need to set the display format)

 

2) Set the data display format Kafka

In the Tools -> Settings -> Topics, and the Key Message String are set to save. This is a global setting for all Topic are to take effect.

 

If you just want to set a Topic alone, you can select a Topic, in Properties -> Content Type, the display format is set to String, click on the Update -> Refresh to take effect

 

After the data list is provided below

 

3) View a specific message

选中某一个message,点击“Message”查看详情,默认是“Text”格式(如果想看到JSON格式,只需要设置下“View Data As”即可)

 

 

“View Data As”设置为 JSON 后,消息信息格式如下

 

4)过滤查询 Kafka 消息

可以按照Offset(偏移量),Key(消息key),Message(消息主体),Regex(正则表达式)进行单个或者组合查询

 

Guess you like

Origin www.cnblogs.com/miracle-luna/p/11299345.html
Recommended