logstach

下载地址:https://www.elastic.co/cn/downloads/past-releases

 

安装kopf插件命令:plugin install lmenezes/elasticsearch-kopf

查看安装的插件命令:plugin list

 

logstash:

加载配置文件

需要在解压后的文件夹中新建conf文件夹并在其中建立conf1.conf配置文件

 

加载命令:logstash -f ../conf/conf1.conf(注意:在安装路径中最好不要出现中文否则就会出现找不到文件的情况)

 

 

 

kafka:

 .\zkserver

 .\kafka-server-start.bat ..\..\config\server.properties

 .\kafka-topics.bat --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic test

.\kafka-console-producer.bat --broker-list localhost:9092 --topic test
.\kafka-console-consumer.bat --zookeeper localhost:2181 --topic test

posted on 2020-03-03 22:41  一往无前!  阅读(153)  评论(0编辑  收藏  举报