kafka命令备份

./kafka-producer-perf-test.sh –topic test –num-records 123 –record-size 1000 –producer-props bootstrap.servers=10.10.0.21:9092 –throughput 20000

./kafka-topics.sh –create –zookeeper 10.10.0.21:2181 –replication-factor 3 –partitions 3 –topic test