logstash-input-nsq 1.0.1 → 1.0.2

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
  SHA1:
3
- metadata.gz: 8fd9cd57af1988e332728b23840fce7c58c2903e
4
- data.tar.gz: 6db3a2b950c6f0a769c056a8b7912ee01603f4fc
3
+ metadata.gz: dd8d978da46a0dfbed62bb707459f2170360b2eb
4
+ data.tar.gz: c8d7197059bba390086b21f5a253a8df7489b68a
5
5
  SHA512:
6
- metadata.gz: 4c9cf8cbcd3a4d4d242d1a0b37a26898a0a11d910791d16f91169164df40aa589e0c94405f69eeb49d165f1c9fd55aef07fac319b8efcac87f186daa7415dd29
7
- data.tar.gz: ba70add8a482955d741e7108329796601ff586cc8d90089674ea384ebc19e180ca01948070ea394c91a5ab49000c8732b69b916146a7fb1c2e016b4bf1d6f48a
6
+ metadata.gz: c42bb3659d4d51216bdd36ea9872e92d097665cdd8ab4f8b89b5c628d6ffb1b153ed3f67217cabc6cf90abcd45c78e07cf9d390194f4d96745642b023d164185
7
+ data.tar.gz: cf2ca9526bae507fed3f25431466291f6a5d7ca02309a2153baebdc6983bc9f2fa248884c744d75db5183924c130804b001246e5ae07816074ec64ae04ae79b9
data/DEVELOPER.md CHANGED
@@ -10,9 +10,10 @@ Logstash Configuration
10
10
 
11
11
  input {
12
12
  nsq {
13
- nsqlookupd => "127.0.0.1:4161"
13
+ nsqlookupd => ["127.0.0.1:4161","1.2.3.4:4161"]
14
14
  topic => "testtopic"
15
15
  channel => "testchannel"
16
+ max_in_flight => 200
16
17
  }
17
18
  }
18
19
 
@@ -7,9 +7,10 @@ class LogStash::Inputs::Nsq < LogStash::Inputs::Base
7
7
 
8
8
  default :codec, 'json'
9
9
 
10
- config :nsqlookupd, :validate => :string, :default => 'localhost:4161'
10
+ config :nsqlookupd, :validate => :array, :default => 'localhost:4161'
11
11
  config :channel, :validate => :string, :default => 'logstash'
12
12
  config :topic, :validate => :string, :default => 'testtopic'
13
+ config :max_in_flight, :validate => :number, :default => 100
13
14
 
14
15
 
15
16
  public
@@ -25,7 +26,8 @@ class LogStash::Inputs::Nsq < LogStash::Inputs::Base
25
26
  consumer = Nsq::Consumer.new(
26
27
  :nsqlookupd => @nsqlookupd,
27
28
  :topic => @topic,
28
- :channel => @channel
29
+ :channel => @channel,
30
+ :max_in_flight => @max_in_flight
29
31
  )
30
32
  while true
31
33
  #@logger.info('consuming...')
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-nsq'
4
- s.version = '1.0.1'
4
+ s.version = '1.0.2'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = 'This input will read events from a nsq topic.'
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-nsq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Schneider