使用 Confluent CLI 以便 运行 多个 kafka 代理

Use Confluent CLI in order to run several kafka brokers

我找不到这个问题的答案,我在尝试实现它时遇到了一些困难。

confluent command only 是否可以运行 multiple brokers + Zookeeper? 是否可以使用 Confluent CLI 构建由 3 个节点组成的 kafka 集群?

谢谢。

不,它不支持多节点集群。

它只运行一个本地主机 kafka-server-startzookeeper-server-start 命令。

此外,如文档页面所述

meant for development purposes only and is not suitable for a production environment. The data that are produced are transient and are intended to be temporary.

此处"production environment"隐含为多台服务器。