
一、Offset Explorer旧名 Kafka Tool下载地址Offset Explorer直接下载https://www.kafkatool.com/download4/offsetexplorer_64bit.exe下载完毕后直接安装启动打开软件 → File → Add ClusterCluster Name随便填如 kafka-4.3.1-monitorBootstrap servers19168.150.99:9092你的 Kafka 地址Zookeeper Host 一栏留空不填你是 KRaft 无 ZK 模式底部点击 Test Connection显示 Success 即可保存。server.properties中的localhost必须更改为ip地址二、Kafka UI安装先下载kafka-ui镜像docker pull ghcr.io/kafbat/kafka-ui:latestUbuntu上Docker运行docker run -d \ --name kafka-ui \ -p 8045:8080 \ -e KAFKA_CLUSTERS_0_NAMElocal-kafka \ -e KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS192.168.150.99:9092 \ -e DYNAMIC_CONFIG_ENABLEDtrue \ ghcr.io/kafbat/kafka-ui:latestwindows下的Docker运行docker run -d --name kafka-ui -p 8045:8080 -e KAFKA_CLUSTERS_0_NAMElocal-kafka -e KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS192.168.150.99:9092 -e DYNAMIC_CONFIG_ENABLEDtrue ghcr.io/kafbat/kafka-ui:latestwindows的操作直接在windows上访问http://localhost:8045