logstash-input-s3-sns-sqs 2.0.5 → 2.0.6

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
  SHA256:
3
- metadata.gz: 94b617279b895a02ea10c98a541ac273b9a33c982d8c809a7960bd3fcb4dd111
4
- data.tar.gz: cc780fbe8bf7fd9c4d523826d7d5a97c86f742ab2c3aad1ff34c3e67fc34ea5e
3
+ metadata.gz: 4b64992aecffffac299586a7e621f0b6f8df6ffa852bedc0e7b3d59bb2603a8b
4
+ data.tar.gz: bc943ec3653928fc00d5f0b8b127a4a54a427df7a6d6bcc9cbfa1e99a4f07bb4
5
5
  SHA512:
6
- metadata.gz: 24ee24a3844f15c799dc843175e715317131b90ab1c7fcf3889cedd35e258c57cbd01ea199d0974da75a23bc4974e684b039f275e89cbefbf2c139dcf73e94f3
7
- data.tar.gz: 99eb062267ff1cd180c25fd340b52e3b9b9a88ab74766f853f4a3daeac2ade74eb6defcc20e782ce98611a812b6059997f2cc7be66874d030e2376339fe5af94
6
+ metadata.gz: cec9993568cda3a39afd0baeab768c64be6d4020516d31341a2d2e0f323bcff2b6f894e49e10dea5fa69b51c69c3a4da738c84d9676f36a5e6408cb3fd12aea8
7
+ data.tar.gz: 86940b85b1fe16c509747ec960352ad59c2cf70cd943f2d57b0daf4d1d99ba38f7ed36577623089cac84bb0b87d9b725565eb17a652efc5b466a3ce7d96c9a65
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ ##2.0.6
2
+ -fix: fix crash of extender
1
3
  ##2.0.5
2
4
  -fix: crash on 0 byte file
3
5
  -fix: type by folder function
@@ -117,14 +117,14 @@ class SqsPoller
117
117
  @logger.warn("Backtrace:\n\t#{e.backtrace.join("\n\t")}")
118
118
  failed = true
119
119
  end
120
- # at this time the extender has either fired or is obsolete
121
- extender.kill
122
- extender = nil
123
120
  message_t1 = Process.clock_gettime(Process::CLOCK_MONOTONIC) #PROFILING
124
121
  unless message_completed
125
122
  @logger.debug("[#{Thread.current[:name]}] uncompleted message at the end of poller loop. We´ll throw skip_delete.", :message_count => message_count)
126
- extender.run
123
+ extender.run if extender
127
124
  end
125
+ # at this time the extender has either fired or is obsolete
126
+ extender.kill if extender
127
+ extender = nil
128
128
  throw :skip_delete if failed or ! message_completed
129
129
  #@logger.info("[#{Thread.current[:name]}] completed message.", :message => message_count)
130
130
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-s3-sns-sqs'
3
- s.version = '2.0.5'
3
+ s.version = '2.0.6'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = "Get logs from AWS s3 buckets as issued by an object-created event via sns -> sqs."
6
6
  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 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-input-s3-sns-sqs
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Herweg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-04 00:00:00.000000000 Z
11
+ date: 2019-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement