下载 Confluent 压缩包,解压以后,把压缩包移动到指定的位置。
cd ~/Downloads
unzip confluent-5.5.0-2.12.zip
mv confluent-5.5.0-2.12 /Applications/confluent
配置终端
code ~/.zprofile
添加
export CONFLUENT_HOME=/Applications/confluent
export PATH=$PATH:$CONFLUENT_HOME/bin
执行
source ~/.zprofile
启动
confluent local 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
Using CONFLUENT_CURRENT: /var/folders/pr/0y4j424j1dnbb8yy9khltvzm0000gn/T/confluent.dra6tU23
Starting zookeeper
zookeeper is [UP]
Starting kafka
kafka is [UP]
Starting schema-registry
schema-registry is [UP]
Starting kafka-rest
kafka-rest is [UP]
Starting connect
connect is [UP]
Starting ksql-server
ksql-server is [UP]
Starting control-center
control-center is [UP]
