logstash-output-sqs 5.1.2 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 365f17a24fe817b8800e38e10114d9c86a9d458c67e6ade37feb97c2f0d0c3d7
4
- data.tar.gz: b4ccb7477ccf35f1f17e726918d215ecbc0d9bbc2127cc59c9f4f343eb9b0751
3
+ metadata.gz: 90d3aab1361aa125af540da7a8d531228c1be5c8c16856df052dc0ed5dc3b215
4
+ data.tar.gz: 54cb92a33a9974bd12c2d47976dfe2651f5dbcccc313d10cabc1e927bd2ae756
5
5
  SHA512:
6
- metadata.gz: 33611f4a29e91d5b9f5e237c75a2dcd7e1b0e8eea6050a2f5082ad910a669a10fbc73ace0f8a644531ecd4116f481850c520ddbd6526c07094187e308316f7bc
7
- data.tar.gz: 6a4ce01cc01910008d1377801373d2dd19c4959b947430a1002e2f31d5f42e1f51eebbe64492d9131d80110a8fbba3894fcdb665ca9f8346ef2d69caeb93979b
6
+ metadata.gz: f4aa102afcd70ce16a9a50c11c50893f3696f166e92ae1d1b12150ab4492dc2dac643cb7e5cd3cfa91d82327dc13277f8845db6d2eb4e504f8c9df1b3e3857b2
7
+ data.tar.gz: da9745512122437afffbe9a67a35b3d3db6260f6f9bf60509f403912977169eafdd43b8aa8ab0e06770edef8aa66eb004d27a29f93284ea63b9143cbb4a5d05b
@@ -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
 
@@ -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.
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-sqs'
4
- s.version = '5.1.2'
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: 5.1.2
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: 2018-06-05 00:00:00.000000000 Z
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