Kafka的启动
zookeeper一定是存活的状态
# bin/kafka-server-start.sh -daemon config/server.properties
Kafka的关闭
zookeeper一定是存活的状态,并且Kafka不会立即关闭,必须得等Kafka关闭后才能关闭zookeeper
bin/kafka-server-stop.sh
Kafka的启动
zookeeper一定是存活的状态
# bin/kafka-server-start.sh -daemon config/server.properties
Kafka的关闭
zookeeper一定是存活的状态,并且Kafka不会立即关闭,必须得等Kafka关闭后才能关闭zookeeper
bin/kafka-server-stop.sh