Home

Awesome

kafka map

English | 简体中文

Add wings to programming and install navigation to kafka

Introduction

kafka-map is a kafka visualization tool developed using Java17 and React.

Supported features:

Screenshot

Import cluster

添加集群

Clusters

集群管理

Brokers

broker

Topics

主题管理

Consumer Groups

消费组

Consumer Group Subscription

消费组详情

Topic Partition

topic详情——分区

Topic Brokers

topic详情——broker

Topic Consumer Groups

topic详情——消费组

Topic Consumer Groups Reset Offset

topic详情——消费组重置offset

Topic Configs

topic详情——配置信息

Produce Message

消费消息

Consume Message

消费消息

Delay Message

延迟消息

Disclaimer

Developers wishing to use kafka-map within a corporate network are advised to seek approval from their administrators or management before using the tool. By downloading, using, or distributing kafka-map, you agree to the LICENSE terms & conditions. No warranty or liability is provided.

Required

install by docker

end

ParamDescription
DEFAULT_USERNAMEInitial login username
DEFAULT_PASSWORDInitial login password
docker run -d \
    -p 8080:8080 \
    -v /opt/kafka-map/data:/usr/local/kafka-map/data \
    -e DEFAULT_USERNAME=admin \
    -e DEFAULT_PASSWORD=admin \
    --name kafka-map \
    --restart always dushixiang/kafka-map:latest

install by native

download

wget https://github.com/dushixiang/kafka-map/releases/latest/download/kafka-map.tgz

unzip

tar -zxvf kafka-map.tgz -C /usr/local/

Running in the foreground

# kafka-map dir
cd /usr/local/kafka-map
# Modify the configuration according to your needs
vi application.yml
# run
java -jar kafka-map.jar 

Running in System service

cat <<EOF >> /etc/systemd/system/kafka-map.service
[Unit]
Description=kafka map service
After=network.target

[Service]
WorkingDirectory=/usr/local/kafka-map
ExecStart=/usr/bin/java -jar /usr/local/kafka-map/kafka-map.jar
Restart=on-failure

[Install]
WantedBy=multi-user.target
EOF

Reload system service && set boot auto-start && start service && view status

systemctl daemon-reload
systemctl enable kafka-map
systemctl start kafka-map
systemctl status kafka-map

Usage

Then use the browser to open the server's port 8080 to access.

FAQ

<details> <summary>What if I don't want to use port 8080?</summary>

Add --server.port=1234 to the startup command to modify the port to 1234.

# example
java -jar kafka-map.jar --server.port=1234
</details>