Confluent 本地启动给出 config.json: No such file or directory

Confluent local start gives config.json: No such file or directory

当我启动 confluent local start 时,我得到 /users/myusername/.confluent/config.json: No such file or directory.

有人知道如何解决这个问题吗?

您需要创建 .confluent 目录

1)安装Confluent CLI,confluent,使用以下脚本。该参数必须在您的 PATH 中(例如 /usr/local/bin)。

在 Microsoft Windows 上,可能需要安装适当的 Linux 环境才能使用 curl 和 sh 命令,例如 Windows [=28] 的子系统=] https://docs.microsoft.com/en-us/windows/wsl/about.

curl -L --http1.1 https://cnfl.io/cli | sh -s -- -b /cli 路径

然后转到 path-to-cli 文件夹和 运行 下面的命令 ./confluent local start