bin/kafka-topics.sh --create --zookeeper 1.6.1.73:2181 --replication-factor 1 --partitions 1 --topic audit_news_to_audit
bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic audit_news_to_stream
bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic audit_news_to_tr
#创建主题
./kafka-topics.sh --bootstrap-server localhost:9092 --create --topic audit_news_to_tr --partitions 1
#查看主题
./kafka-topics.sh --list --bootstrap-server localhost:9092
标签:--,topics,很少,kafka,topic,sh,技术含量,create From: https://www.cnblogs.com/junzizhibang/p/17919197.html