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 +4 -4
- data/lib/logstash/inputs/jsqs.rb +9 -2
- data/logstash-input-jsqs.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d979e85f39eb370f576729f26da27487765c59de
|
4
|
+
data.tar.gz: 057ee4a801cc1c4924b0e265bb4f6ed760cf4caa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db68394687fb7aec192e33ec6f309b9e9de0c08b2b3a96c837eec42e4b495913d0f0dcc76fb13326e495165015f44e84692af9aa3ac3dce2615608d7139eec01
|
7
|
+
data.tar.gz: 08dd16e9e26b56728eab680c9ff77e340c56478c478f0e10a624074bbecb0028552357e8c566adb4ac5f74629e1aff8aa258e14d91a177c5c9de9070ec8159ac
|
data/lib/logstash/inputs/jsqs.rb
CHANGED
@@ -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
|
-
|
111
|
-
|
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
|
data/logstash-input-jsqs.gemspec
CHANGED
@@ -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.
|
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.
|
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-
|
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
|