1. 拉取映象
docker pull solsson/kafka-manager
2. 執行kafka管理容器
docker run -d -p 9000:9000 solsson/kafka-manager
3. 檢視管理介面
4. 解決問題:yikes! ask timed out on [actorselection[anchor(akka://kafka-manager-system/), path(/user/kafka-manager)]] after [5000 ms]. message of type [kafka.manager.model.actormodel$kmgetallclusters$]. a typical reason for `asktimeoutexception` is that the recipient actor didn't send a reply.
4.1 問題:該容器沒有指定ezk_hosts時,不能正常重啟,所以不能使用該容器
4.2 啟動乙個新容器
# -ezk_hosts=1.2.3.4(宿主機ip)、9000 預設埠
docker run -d -p 9000:9000 -ezk_hosts=1.2.3.4 solsson/kafka-manager
4.3 查詢對應的配置檔案4.4 修改配置檔案4.5 新增配置
# zoo1、zoo2、zoo3分別為對應的集群ip
4.6 重啟容器
Docker容器安裝kafka
docker run d name zookeeper p 2181 2181 t wurstmeister zookeeperdocker run d name kafka p 9092 9092 e kafka broker id 0 e kafka zookeeper connect 192....
docker簡單搭建kafka
zookeeper不記錄 執行 docker run dit name kafka 01 p 9092 9092 e kafka broker id 0 e kafka zookeeper connect 192.168.1.63 2181 e kafka advertised listeners ...
docker部署kafka集群
sudo curl l s uname m o usr local bin docker composesudo chmod x usr local bin docker compose zookeeper映象 docker pull zookeeper kafka manager映象 docker...