Kafka+Zookeeper集群搭建详解(4)

    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集群能正常接收消费信息和消费信息!! 

配置logstash日志收集和过滤,还有kibana图形化展示。见这里 

Elasticsearch安装使用教程

分布式搜索ElasticSearch单机与服务器环境搭建 

ElasticSearch的工作机制 

ElasticSearch集群搭建实例 

ElasticSearch 的详细介绍请点这里
ElasticSearch 的下载地址请点这里

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/a72109e0192b26be8d8aa1d1c97667ef.html