logstash-input-jsqs 0.9.2-java → 0.9.3-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c7035e8063acc3862a7b7289f94cff69691ec567
4
- data.tar.gz: b9fe883cf27a4d52f0e829c41dfbba59d96c0508
3
+ metadata.gz: d979e85f39eb370f576729f26da27487765c59de
4
+ data.tar.gz: 057ee4a801cc1c4924b0e265bb4f6ed760cf4caa
5
5
  SHA512:
6
- metadata.gz: c1d08cca6ac2023c98d47c5af70b698ba5aa3c9992b8cfd1cbd12661b9b38ccf0ed0905ad552eeccff32f31c498f686f2c89cf24e6f5edb275d2084aef219ea2
7
- data.tar.gz: e66f13d7a80cd27f50bbf8796e8f705b5ad702e25ee41f0116fdd9d2db1f8ed47a708372f4c8e5a1b3d1df886a7d20c954700902a93e569e3b441c1c0c6f1a4c
6
+ metadata.gz: db68394687fb7aec192e33ec6f309b9e9de0c08b2b3a96c837eec42e4b495913d0f0dcc76fb13326e495165015f44e84692af9aa3ac3dce2615608d7139eec01
7
+ data.tar.gz: 08dd16e9e26b56728eab680c9ff77e340c56478c478f0e10a624074bbecb0028552357e8c566adb4ac5f74629e1aff8aa258e14d91a177c5c9de9070ec8159ac
@@ -107,8 +107,15 @@ class LogStash::Inputs::JSQS < LogStash::Inputs::Threadable
107
107
  # Process messages (expected 0 - 10 messages)
108
108
  result.messages.each_with_index { |message, i|
109
109
  @codec.decode(message.body) do |event|
110
- decorate(event)
111
- output_queue << event
110
+ if event.is_a?(Array)
111
+ event.each do |msg|
112
+ decorate(msg)
113
+ output_queue << msg
114
+ end
115
+ else
116
+ decorate(event)
117
+ output_queue << event
118
+ end
112
119
  end # codec.decode
113
120
 
114
121
  #Add Delete entry for this message
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.platform = RUBY_PLATFORM
3
3
  s.name = 'logstash-input-jsqs'
4
- s.version = '0.9.2'
4
+ s.version = '0.9.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "SQS input plugin using the AWS Java SDK"
7
7
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install logstash-input-jsqs. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-jsqs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: java
6
6
  authors:
7
7
  - Jamie Cressey
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-27 00:00:00.000000000 Z
11
+ date: 2015-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement