Zookeeper应该和Kafka经理分开安装吗?

r1wp621o  于 2022-12-16  发布在  Apache
关注(0)|答案(1)|浏览(119)

In Kafka-manager github page it is written that:
The minimum configuration is the zookeeper hosts which are to be used for kafka manager state. This can be found in the application.conf file in conf directory. The same file will be packaged in the distribution zip file; you may modify settings after unzipping the file on the desired server.
kafka-manager.zkhosts="my.zookeeper.host.com:2181" You can specify multiple zookeeper hosts by comma delimiting them, like so:
kafka-manager.zkhosts="my.zookeeper.host.com:2181,other.zookeeper.host.com:2181" Alternatively, use the environment variable ZK_HOSTS if you don't want to hardcode any values.
ZK_HOSTS="my.zookeeper.host.com:2181"
So my questions are:

  1. Does Kafka-manager already contain Zookeeper when I download it?
  2. Should I install Zookeeper for Kafka Manager seperately or use already installed Zookeeper used for Apache Kafka?
  3. How many Zookeper instances are required for Kafka-Manager?
  4. If I should install Zookeeper dedicated to Kafka-Manager, is it okey to install it in the same machine which Kafka-Manager installed or should I create another Zookeeper cluster in different machines?
    I wonder what is the best practice?
dkqlctbz

dkqlctbz1#

当我下载Kafka-manager时,它是否已经包含Zookeeper?
不,它只是一个网络应用程序。不过你可以使用Kafka使用的Zookeeper
这应该回答了你剩下的问题...

相关问题