Kafka CLI
1.startConsumer
./kafka-console-consumer.sh --zookeeper master.zl:2181 --topic testTopic --from-beginning
2.startProducer
./kafka-console-producer.sh --broker-list localhost:6667 --topic testTopic
3.listTopic
./kafka-topics.sh --list --zookeeper master.zl:2181
4.createTopic
./kafka-topics.sh --create --zookeeper master.zl:2181 --replication-factor 1 --partitions 1 --topic testTopic