我已经在ubuntu20.04上安装了confluent-7.0.0,下面是正式文档https://docs.confluent.io/platform/current/quickstart/ce-docker-quickstart.html。我添加了confluent_home的路径,如.bashrc文件中所示:
export PATH=/home/abc/confluent-7.0.0/bin:$PATH
export PATH=$PATH:$CONFLUENT_HOME/bin并运行命令source ~/.bashrc。现在的问题是,当我第一次通过confluent local services start启动我的服务时,它已经启动了动物园管理员、kafka、模式注册表、kafka-rest、connect和ksql等服务,但是在启动控制中心时,它已经中止了操作。现在,当我运行这个命令confluent local services start时,会出现以下错误:
The local commands are intended for a single-node development environment only,
NOT for production usage. https://docs.confluent.io/current/cli/index.html
Error: set environment variable CONFLUENT_HOME我还需要设置哪些环境变量,以及如何设置?
发布于 2022-02-09 16:29:25
这就是你所需要的
export CONFLUENT_HOME=/home/abc/confluent-7.0.0
export PATH=$CONFLUENT_HOME/bin:$PATHhttps://stackoverflow.com/questions/70966586
复制相似问题