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

bash 复制代码
# 拉取镜像
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.

仓库:[email protected]:provectus/kafka-ui.git

文档:Getting started - UI for Apache Kafka

bash 复制代码
docker run -it -p 8080:8080 -e DYNAMIC_CONFIG_ENABLED=true provectuslabs/kafka-ui

docker run -p 8080:8080 -e KAFKA_CLUSTERS_0_NAME=local -e KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS=kafka:9092 -d provectuslabs/kafka-ui:0.3.0

docker 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

相关推荐
shepherd11119 分钟前
Kafka生产环境实战经验深度总结,让你少走弯路
后端·面试·kafka
xiaoxi66631 分钟前
Dubbo实战:四步实现注册中心平滑迁移
分布式·nacos·dubbo·注册中心
刘翔在线犯法2 小时前
如何搭建spark yarn模式的集合集群
大数据·分布式·spark
Betty_蹄蹄boo3 小时前
在Spark集群中搭建Standalone
大数据·分布式·spark
晴天彩虹雨3 小时前
Flink 消费 Kafka 数据流的最佳实践
数据仓库·flink·kafka·linq
Themberfue3 小时前
Redis ⑥-string | hash | list
数据库·redis·分布式·缓存·list
〆、风神5 小时前
从零搭建高可用分布式限流组件:设计模式与Redis令牌桶实践
redis·分布式·设计模式
柳如烟@6 小时前
Hadoop伪分布式模式搭建全攻略:从环境配置到实战测试
大数据·hadoop·分布式·mysql
大飞哥~BigFei9 小时前
乐企数电发票分布式发票号码生成重复的问题修复思路分享
java·分布式·数电发票号码生成
活跃的煤矿打工人13 小时前
【星海出品】分布式存储数据库etcd
数据库·分布式·etcd