我已经在logstash中配置了JMS输入来订阅JMS主题消息并将消息推送到弹性搜索。
input {
jms {
id => "my_first_jms"
yaml_file => "D:\softwares\logstash-6.4.0\config\jms-amq.yml"
yaml_section => "dev"
use_jms_timestamp => true
pub_sub => true
destination => "mytopic"
# threads => 50
}
}
filter {
json{
source => "message"
}
}
output {
stdout { codec => json }
elasticsearch {
hosts => ['http://localhost:9401']
index => "jmsindex"
}
}
系统规格:
RAM: 16 GB
Type: 64 bit
Processor: Intel i5-4570T CPU @ 2.9 GHz
这非常慢。比如每 3-4 分钟 1 条消息。我应该如何调试以找出缺少的内容?
注意:在此之前,我在 java 中使用 @JMSListener 执行此操作,每秒可以轻松处理 200-300 条记录。
None
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)