- Kafka启动命令
注:先进入kafka目录
1)常规模式启动kafka
bin/kafka-server-start.sh config/server.properties
2)进程守护模式启动kafka
nohup bin/kafka-server-start.sh config/server.properties >/dev/null 2>&1 &
- Kafka关闭命令
注:先进入kafka目录
bin/kafka-server-stop.sh
注:先进入kafka目录
1)常规模式启动kafka
bin/kafka-server-start.sh config/server.properties
2)进程守护模式启动kafka
nohup bin/kafka-server-start.sh config/server.properties >/dev/null 2>&1 &
注:先进入kafka目录
bin/kafka-server-stop.sh