工作中用到的一些kafka命令

一、启动

1. kafka的启动

kafka-server-start.sh -daemon ../config/server.properties

2. kafka的停止

kafka-server-stop.sh

或者

kill -15 <kafka_pid>

二、实战

1. 创建一个topic

原文地址:https://www.cnblogs.com/erlou96/p/14432171.html