Giter VIP home page Giter VIP logo

kafka-map's Introduction

kafka map

给编程插上翅膀,给kafka装上导航。

快速了解

kafka map是使用Java8ReactApache Kafka开发的一款web ui工具。 通过这款工具可以很方便直观的查看Broker、 topics、 partitions、consumers等信息,以及查看Topic中的消息。

目前支持的功能有:

  • 多集群管理
  • topic监控 —— 查看分区数量、副本数量、存储大小、offset
  • topic管理 —— 创建、删除、扩容
  • broker查看 —— Partitions as Leader、 Partitions as Follower
  • consumer管理(查看、删除)
  • 重置offset
  • 消费消息 —— 支持String和json方式展示

截图

截图

协议与条款

如您需要在企业网络中使用 kafka-map ,建议先征求 IT 管理员的同意。下载、使用或分发 kafka-map 前,您必须同意 协议 条款与限制。本项目不提供任何担保,亦不承担任何责任。

依赖环境

  • Java8 或更高版本
  • Apache Kafka 1.1.0 或更高版本

快速安装

下载

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

解压

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

前台运行

# kafka-map文件夹
cd /usr/local/kafka-map
# 启动
java -jar kafka-map.jar 

系统服务方式运行

/etc/systemd/system/ 下创建 kafka-map.service 并写入以下内容

根据自身实际情况修改 WorkingDirectory 和 ExecStart下面的程序所在目录及java

[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

重载系统服务&&设置开机启动&&启动服务&&查看状态

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

使用

接下来使用浏览器打开服务器的 8080 端口即可访问。

FAQ

不想使用8080端口怎么办?

在启动命令上增加 --server.port=1234 即可修改端口为 1234

# 示例
java -jar kafka-map.jar --server.port=1234

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.