English | 简体中文
Add wings to programming and install navigation to kafka
。
kafka-map
is a kafka
visualization tool developed using Java17
and React
.
Supported features:
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.
end
Param | Description |
---|---|
DEFAULT_USERNAME | Initial login username |
DEFAULT_PASSWORD | Initial 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
download
wget https://github.com/dushixiang/kafka-map/releases/latest/download/kafka-map.tgz
unzip
tar -zxvf kafka-map.tgz -C /usr/local/
# kafka-map dir
cd /usr/local/kafka-map
# Modify the configuration according to your needs
vi application.yml
# run
java -jar kafka-map.jar
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
Then use the browser to open the server's port 8080
to access.
Add --server.port=1234
to the startup command to modify the port to 1234
.
# example
java -jar kafka-map.jar --server.port=1234
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。