Using the ConsoleConsumer with old consumer is deprecated and will be removed in a future major release. Consider using the new consumer by passing [bootstrap-server] instead of [zookeeper].
Hello,wangyanlin
I am from china.
;
^CProcessed a total of 5 messages
[root@kafka1 kafka]# /opt/kafka/bin/kafka-console-consumer.sh --zookeeper 172.16.81.132:2181 --topic summer --from-beginning
Using the ConsoleConsumer with old consumer is deprecated and will be removed in a future major release. Consider using the new consumer by passing [bootstrap-server] instead of [zookeeper].
Hello,wangyanlin
I am from china.
;
^CProcessed a total of 5 messages
(6)删除消费主题
/opt/kafka/bin/kafka-topics.sh --delete --zookeeper localhost:2181 --topic summer
开启conf里面的 delete.topic.enable改成true
#测试正常!!完成!
测试kafka集群能正常接收消费信息和消费信息!!