Kafka-manager安装

1. 安装包解压
unzip kafka-manager.zip

2. 修改conf/application.conf

http.port=9005

kafka-manager.zkhosts="10.100.100.1:2181"
kafka-manager.zkhosts="10.100.100.2:2181"
kafka-manager.zkhosts="10.100.100.3:2181"
kafka-manager.zkhosts=${?ZK_HOSTS}
pinned-dispatcher.type="PinnedDispatcher"
pinned-dispatcher.executor="thread-pool-executor"
application.features=["KMClusterManagerFeature","KMTopicManagerFeature","KMPreferredReplicaElectionFeature","KMReassignPartitionsFeature"]

3. 启动
nohup bin/kafka-manager -Dconfig.file=conf/application.conf -Dhttp.port=9005 &
 

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页