命令行创建topic的命令:

./kafka-topics.sh --create --bootstrap-server ip:port --topic TestUseCommand

ip和port为Kafka broker服务的ip和端口号