logstash-input-bunny 0.2.1 → 0.2.2

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: 53ad519875f5028882ae01afef4053bf4546e45f
4
- data.tar.gz: 22724a7aa01f7b4964b6a21d8df08a02c5745711
3
+ metadata.gz: 4203dc333f271068acd7eff46259e40314f79c1d
4
+ data.tar.gz: 5606f963d4b04b795faa14bc3bff4628cca4b796
5
5
  SHA512:
6
- metadata.gz: e38c25c1b8dec5f54aeb4f75543b6373a3da9c50483a055396d61898844ec550eab3b219f3bad114be584933ca030e96767f23dc3959841de83e7314deccbf47
7
- data.tar.gz: 401e96cc2cd5e694da97df5755ea14d3acd26a79f6b56f367b371b2839a2514f3add425bf4df28a7e3b74a16c2fec15973d8d7773d7b5e5a6d1c33cb48a7677f
6
+ metadata.gz: ab007047afba208407bbc7cac83c8d39c9847c40d1579f9e7d20cea672ec763831637e2faded65ffc09fbd1625b8ac8870cffc9a4fdf7fc9c27140adab3c3326
7
+ data.tar.gz: 30a075d2c881333836959541be4a62b76a35c04a17c9ccf75eabd207f8be25759dee766480c3293811ab7ae6a6b903a1e6c0036f6c2b03c93ae59ab7122ff7ab
@@ -219,12 +219,7 @@ class LogStash::Inputs::Bunny < LogStash::Inputs::Threadable
219
219
  consumer.channel.acknowledge(delivery_info.delivery_tag) if @ack
220
220
  end
221
221
 
222
- consumer.queue.subscribe_with(consumer, block: false)
223
- end
224
-
225
- # Join all consummer threads to the current thread and wait to complete
226
- @consummers.each do |name, consumer|
227
- consumer.channel.work_pool.join
222
+ consumer.queue.subscribe_with(consumer, block: true)
228
223
  end
229
224
  end
230
225
  end # class LogStash::Inputs::RabbitMQ
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-bunny'
4
- s.version = '0.2.1'
4
+ s.version = '0.2.2'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Pull events from a RabbitMQ exchange."
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 gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-bunny
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Serafini