[wangshumin@centoshostnameKL1 kafka_2.11-0.9.0.1]$ kafka-console-producer.sh --broker-list centoshostnameKL1:9092,centoshostnameKL2:9092,centoshostnameKL3:9092 --topic kafkaTopic hhhh jjj kk kk kk kk kk kk kkl k wangshumingggggggggg ^[[A xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx [wangshumin@centoshostnameKL3 bin]$ kafka-console-consumer.sh --topic kafkaTopic --zookeeper centoshostnameKL1:2181,centoshostnameKL2:2181,centoshostnameKL3:2181 --from-beginning jjj hhhh kk kk kk kk kk kk kkl k ^CProcessed a total of 10 messages [wangshumin@centoshostnameKL3 bin]$ kafka-console-consumer.sh --topic kafkaTopic --zookeeper centoshostnameKL1:2181,centoshostnameKL2:2181,centoshostnameKL3:2181 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx