Kafka Manager 需要单独安装 Zookeeper 吗?

Should Zookeeper be installed seperately for Kafka Manager?

在 Kafka-manager github page 中写道:

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"

所以我的问题是:

  1. Kafka-manager下载的时候是不是已经包含Zookeeper了?

  2. 我应该单独为 Kafka Manager 安装 Zookeeper 还是使用已经安装的用于 Apache Kafka 的 Zookeeper?

  3. Kafka-Manager 需要多少个 Zookeper 实例?
  4. 如果我应该安装专用于 Kafka-Manager 的 Zookeeper,是将它安装在安装了 Kafka-Manager 的同一台机器上,还是应该在不同的机器上创建另一个 Zookeeper 集群?

我想知道最佳做法是什么?

Does Kafka-manager already contain Zookeeper when I download it?

没有。它只是一个网络应用程序。您可以使用 Kafka 使用的 Zookeeper,不过

这应该可以回答您剩下的问题...