logstash-input-bunny 0.1.2 → 0.1.3

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: bf75ba12799f492c7dcc77b15abd022aa6ba8199
4
- data.tar.gz: 06bbec75128bc665ee057149705953ddd6ab5e82
3
+ metadata.gz: ac9146e066c41f5b0467ff05cfa44e36ca7871e2
4
+ data.tar.gz: 6c5856787b8e9e5a6463d89304c306cc9310f305
5
5
  SHA512:
6
- metadata.gz: 3f7c61a052c4f8177ef14748fdd923b6515420a62d8d963de106944db743b2397f79b154e64ecdb420bff3c34fead28df31eab07f98684d5c36e289f84b05623
7
- data.tar.gz: d3a0105c59b19d04cb21ca3895f2d17d6ba2257ce2cdba6d63741c92bdfb6abf1f4f69c50defeff93736818006deccd48cab392d93ea7ce8ed9b03b15d22ca8a
6
+ metadata.gz: e82bac4394d2b19576e15f9dccc83456a743e4152005a27ae15217ec494c628c334a42a82b0ae5b3815f04122de64b8de0a646b1dc9a3d9fdc9ff57926425535
7
+ data.tar.gz: 055bcba3bd538d184a5f7cce712892cb1f080f39eb4289a32c29f1362883574321cc1f8e3384de6fd608cf1e88061219d7a5fb927d9eeb253d7af205fcb76039
@@ -35,6 +35,9 @@ class LogStash::Inputs::Bunny < LogStash::Inputs::Threadable
35
35
  # The vhost to use. If you don't know what this is, leave the default.
36
36
  config :vhost, :validate => :string, :default => "/"
37
37
 
38
+ # RabbitMQ hearbeats
39
+ config :heartbeat, :validate => [:number, :string], :default => 0
40
+
38
41
  # Enable or disable SSL
39
42
  config :ssl, :validate => :boolean, :default => false
40
43
  config :ssl_cert, :validate => :string
@@ -116,6 +119,9 @@ class LogStash::Inputs::Bunny < LogStash::Inputs::Threadable
116
119
  def register
117
120
  super
118
121
 
122
+ @heartbeat = :server if @heartbeat == "server"
123
+ @settings[:heartbeat] = @heartbeat
124
+
119
125
  if @ssl and @ssl_cert
120
126
  @settings[:tls_cert] = @ssl_cert
121
127
  @settings[:tls_key] = @ssl_key
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-bunny'
4
- s.version = '0.1.2'
4
+ s.version = '0.1.3'
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-bunny
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Serafini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-05 00:00:00.000000000 Z
11
+ date: 2015-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-core