You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

使用Confluent CLI在Docker部署Kafka集群失败求助

在Intel架构Mac(macOS Sonoma 14.3.1)上启动Confluent本地Kafka集群无响应的解决方法

问题场景

在Intel架构Mac(运行macOS Sonoma 14.3.1)上,按Confluent开发者指南部署本地Kafka集群时遇到启动无响应问题:

  1. 通过Homebrew安装Confluent CLI:
brew install confluentinc/tap/cli
  1. 在~/.bash_profile中添加环境变量配置:
# For Confluent
export CONFLUENT_HOME="/usr/local/Cellar/cli/3.48.1"
export PATH=$PATH:$CONFLUENT_HOME/bin
  1. 启动Docker Desktop v4.27.1后,执行启动命令:
confluent local kafka start

仅收到开发环境提示,无端口信息或启动反馈:

The local commands are intended for a single-node development environment only, NOT for production usage. See more: https://docs.confluent.io/current/cli/index.html
  1. 执行状态检查命令:
confluent local services status

显示所有服务均未运行:

The local commands are intended for a single-node development environment only, NOT for production usage. See more: https://docs.confluent.io/current/cli/index.html
As of Confluent Platform 8.0, Java 8 will no longer be supported.

Using CONFLUENT_CURRENT: /var/folders/zn/z1znabcd70vcabcd0cv87y1j0000gn/T/confluent.092959
Connect is [DOWN]
Kafka is [DOWN]
Kafka REST is [DOWN]
ksqlDB Server is [DOWN]
Schema Registry is [DOWN]
ZooKeeper is [DOWN]

解决方法

重启Docker Desktop,之后重新执行以下命令启动集群:

confluent local kafka start

再次执行状态检查命令验证,所有服务将正常运行。

内容的提问来源于stack exchange,提问作者Ash K

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.30 02:35:04