当前位置: 首页 > news >正文

Kafka-UI

有多款kafka管理应用,目前选择的是github上star最多的UI for Apache Kafka。

 关于

To run UI for Apache Kafka, you can use either a pre-built Docker image or build it (or a jar file) yourself.

UI for Apache Kafka is a versatile, fast, and lightweight web UI for managing Apache Kafka® clusters. Built by developers, for developers.

The app is a free, open-source web UI to monitor and manage Apache Kafka clusters.

UI for Apache Kafka is a simple tool that makes your data flows observable, helps find and troubleshoot issues faster and delivers optimal performance. Its lightweight dashboard makes it easy to track key metrics of your Kafka clusters - Brokers, Topics, Partitions, Production, and Consumption.

运行

To run UI for Apache Kafka, you can use either a pre-built Docker image or build it (or a jar file) yourself.

方式一:Jar

由于0.7.1发行版的jar是基于JDK11,无法直接运行。

所以下载源码,试图降到JDK8,捣鼓了大半天,工作量比较大,放弃。

方式二:Docker

# 拉取镜像
docker pull provectuslabs/kafka-ui# 运行
docker run -it -p 8080:8080 -e DYNAMIC_CONFIG_ENABLED=true provectuslabs/kafka-ui

DYNAMIC_CONFIG_ENABLED:

By default, kafka-ui does not allow to change of its configuration in runtime. When the application is started it reads configuration from system env, config files (ex. application.yaml), and JVM arguments (set by -D). Once the configuration was read it was treated as immutable and won't be refreshed even if the config source (ex. file) was changed.

Since version 0.6 we added an ability to change cluster configs in runtime. This option is disabled by default and should be implicitly enabled. To enable it, you should set DYNAMIC_CONFIG_ENABLED env property to true or add dynamic.config.enabled: true property to your yaml config file.

仓库:git@github.com:provectus/kafka-ui.git

文档:Getting started - UI for Apache Kafka

docker run -it -p 8080:8080 -e DYNAMIC_CONFIG_ENABLED=true provectuslabs/kafka-uidocker run -p 8080:8080 -e KAFKA_CLUSTERS_0_NAME=local -e KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092 -d provectuslabs/kafka-ui:0.3.0docker run -p 8080:8080 -e KAFKA_CLUSTERS_0_NAME=local -e KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092 -d provectuslabs/kafka-ui:0.2.1

 

docker pull docker.redpanda.com/redpandadata/console:v2.3.3

docker run -p 8080:8080 -e KAFKA_BROKERS=localhost:9092 docker.redpanda.com/redpandadata/console:v2.3.3

docker run --name kowl -p 8080:8080 -e KAFKA_BROKERS=localhost:9092 docker.redpanda.com/redpandadata/console:v2.3.3

docker run --name kowl -p 8080:8080 -e KAFKA_BROKERS=host.docker.internal:9092 docker.redpanda.com/redpandadata/console:v2.3.3

http://www.lryc.cn/news/176947.html

相关文章:

  • Unity 制作登录功能02-创建和链接数据库(SQlite)
  • 算法 岛屿数量-(递归回溯)
  • 安卓恶意应用识别(番外篇)(Python并行(多线程or多进程)执行cmd)
  • 基于大语言模型扬长避短架构服务
  • 初识网络编程
  • 轻松使用androidstudio交叉编译libredwg库
  • 【C++杂货铺】一颗具有搜索功能的二叉树
  • uni-app使用vue3,在元素或组件实例上添加ref,用this.$refs显示undefined
  • 蜂蜜配送销售商城小程序的作用是什么
  • 大数据Flink(八十四):SQL语法的DML:窗口聚合
  • 系统集成|第十八章(笔记)
  • 480万商品,如何架构商品治理平台?
  • 【C++入门指南】C如何过渡到C++?祖师爷究竟对C++做了什么?
  • 简易磁盘自动监控服务
  • 【100天精通Python】Day65:Python可视化_Matplotlib3D绘图mplot3d,绘制3D散点图、3D线图和3D条形图,示例+代码
  • 十六,镜面IBL--预滤波环境贴图
  • 信息安全:恶意代码防范技术原理.
  • 开源媒体浏览器Kyoo
  • 人脸解锁设备时出现相机报错
  • 【广州华锐互动】利用VR开展工业事故应急救援演练,确保救援行动的可靠性和有效性
  • 还不知道数据类岗位的相关技能和职责吗?涤生大数据告诉你(二)
  • 常见应用层协议
  • 解决docker容器无法关闭的问题
  • 2023-09-27 LeetCode每日一题(餐厅过滤器)
  • 梯度下降法(SGD)原理
  • QQ表情包存储位置解析
  • 软件架构的演化和维护
  • C语言数组和指针笔试题(四)(一定要看)
  • FragmentManager is already executing transactions
  • Matlab中clear,close all,clc功能详细说明