logstash-output-sqs 5.1.2 → 6.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/logstash/outputs/sqs.rb +0 -5
- data/logstash-output-sqs.gemspec +1 -1
- metadata +2 -3
- data/lib/logstash/outputs/sqs/patch.rb +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90d3aab1361aa125af540da7a8d531228c1be5c8c16856df052dc0ed5dc3b215
|
4
|
+
data.tar.gz: 54cb92a33a9974bd12c2d47976dfe2651f5dbcccc313d10cabc1e927bd2ae756
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4aa102afcd70ce16a9a50c11c50893f3696f166e92ae1d1b12150ab4492dc2dac643cb7e5cd3cfa91d82327dc13277f8845db6d2eb4e504f8c9df1b3e3857b2
|
7
|
+
data.tar.gz: da9745512122437afffbe9a67a35b3d3db6260f6f9bf60509f403912977169eafdd43b8aa8ab0e06770edef8aa66eb004d27a29f93284ea63b9143cbb4a5d05b
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## 6.0.0
|
2
|
+
- Removed obsolete fields `batch` and `batch_timeout`
|
3
|
+
- Removed workaround to JRuby bug (see more [here](https://github.com/jruby/jruby/issues/3645))
|
4
|
+
|
1
5
|
## 5.1.2
|
2
6
|
- Added the ability to send to a different account id's queue. [#30](https://github.com/logstash-plugins/logstash-output-sqs/pull/30)
|
3
7
|
|
data/lib/logstash/outputs/sqs.rb
CHANGED
@@ -4,7 +4,6 @@ require 'aws-sdk'
|
|
4
4
|
require 'logstash/errors'
|
5
5
|
require 'logstash/namespace'
|
6
6
|
require 'logstash/outputs/base'
|
7
|
-
require 'logstash/outputs/sqs/patch'
|
8
7
|
require 'logstash/plugin_mixins/aws_config'
|
9
8
|
|
10
9
|
Aws.eager_autoload!
|
@@ -70,14 +69,10 @@ class LogStash::Outputs::SQS < LogStash::Outputs::Base
|
|
70
69
|
|
71
70
|
concurrency :shared
|
72
71
|
|
73
|
-
config :batch, :validate => :boolean, :default => true, :obsolete => "This option is obsolete. Set 'batch_events' to `1` to disable batching"
|
74
|
-
|
75
72
|
# The number of events to be sent in each batch. Set this to `1` to disable
|
76
73
|
# the batch sending of messages.
|
77
74
|
config :batch_events, :validate => :number, :default => 10
|
78
75
|
|
79
|
-
config :batch_timeout, :validate => :number, :obsolete => 'This setting is obsolete.'
|
80
|
-
|
81
76
|
# The maximum number of bytes for any message sent to SQS. Messages exceeding
|
82
77
|
# this size will be dropped. See
|
83
78
|
# http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/limits-messages.html.
|
data/logstash-output-sqs.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-output-sqs'
|
4
|
-
s.version = '
|
4
|
+
s.version = '6.0.0'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Pushes events to an Amazon Web Services Simple Queue Service queue"
|
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/logstash-plugin install gemname. This gem is not a stand-alone program"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-output-sqs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 6.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,7 +88,6 @@ files:
|
|
88
88
|
- README.md
|
89
89
|
- docs/index.asciidoc
|
90
90
|
- lib/logstash/outputs/sqs.rb
|
91
|
-
- lib/logstash/outputs/sqs/patch.rb
|
92
91
|
- logstash-output-sqs.gemspec
|
93
92
|
- spec/integration/outputs/sqs_spec.rb
|
94
93
|
- spec/spec_helper.rb
|
@@ -1,21 +0,0 @@
|
|
1
|
-
# This patch was stolen from logstash-plugins/logstash-output-s3#102.
|
2
|
-
#
|
3
|
-
# This patch is a workaround for a JRuby issue which has been fixed in JRuby
|
4
|
-
# 9000, but not in JRuby 1.7. See https://github.com/jruby/jruby/issues/3645
|
5
|
-
# and https://github.com/jruby/jruby/issues/3920. This is necessary because the
|
6
|
-
# `aws-sdk` is doing tricky name discovery to generate the correct error class.
|
7
|
-
#
|
8
|
-
# As per https://github.com/aws/aws-sdk-ruby/issues/1301#issuecomment-261115960,
|
9
|
-
# this patch may be short-lived anyway.
|
10
|
-
require 'aws-sdk'
|
11
|
-
|
12
|
-
begin
|
13
|
-
old_stderr = $stderr
|
14
|
-
$stderr = StringIO.new
|
15
|
-
|
16
|
-
module Aws
|
17
|
-
const_set(:SQS, Aws::SQS)
|
18
|
-
end
|
19
|
-
ensure
|
20
|
-
$stderr = old_stderr
|
21
|
-
end
|