logstash-output-aerospike 0.2.1 → 0.3.0

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: a56e39292ccac4e8e370f32c936fb2e246adb209
4
- data.tar.gz: dd681f849cb614924ab53ec967e6b7c91b748ffa
3
+ metadata.gz: fe53d21eeb6df4e54ce0a9ebb8ddc9cc56ee3eda
4
+ data.tar.gz: 6c1969b5951bdea1061aa36f59ede5675729098f
5
5
  SHA512:
6
- metadata.gz: eee8b3a4b4794f02aa0622c4a13efdfea6bf3ac56ffe2cacda0dec84374d610f41cf6e3026f9851ce7f231ce3119124875006c51607ff6378e629310b94a14ae
7
- data.tar.gz: 5f5844ee79a30d958875d162de3672cf5660b0fc2e3768c781a8a700e6040ebe68fe64c22a9c1bf05d9bf8babd40f5d816b64337eaf5bb31ea4b1e048308ecdd
6
+ metadata.gz: 1c029ca298731ae6bafbe23dec6f118063db18a3cbd8ff347f12ee51f566201260462e6b9e835ee3885e6cbc7211652c19f18094998467dae4967e3d3e48b1da
7
+ data.tar.gz: '0680890cf5c6f7dc4f54b158db1587c34526899a89d834065c1a406b5f321fb0d309cbd94cfd9fe6af0d7efabf357773052c67dc7ee332e8091364d6baa751c0'
@@ -38,12 +38,13 @@ class LogStash::Outputs::Aerospike < LogStash::Outputs::Base
38
38
 
39
39
  public
40
40
  def register
41
- @@client = com.qihoo.unad.cminitializer.logstash.aero.plugin.LogstashAeroOutPlug.new
42
- @@client.registerClient @host.to_s,@port.to_s,@namespace.to_s,@set.to_s,@ttl.to_s
41
+ @plugin = com.qihoo.unad.cminitializer.logstash.aero.plugin.LogstashAeroOutPlug.new
42
+ @plugin.registerClient @host.to_s,@port.to_s,@namespace.to_s,@set.to_s,@ttl.to_s
43
+ @plugin.startSender @host.to_s,@port.to_s,@namespace.to_s,@set.to_s,@ttl.to_s
43
44
  end # def register
44
45
 
45
46
  public
46
47
  def receive(event)
47
- @@client.outPutAerospikeRe @host.to_s,@port.to_s,@namespace.to_s,@set.to_s,@ttl.to_s,event.sprintf(@key),@binnames.to_s,@bintypes.to_s,event.sprintf(@binvalues)
48
+ @plug.pushIntoQueue @host.to_s,@port.to_s,@namespace.to_s,@set.to_s,@ttl.to_s,event.sprintf(@key),@binnames.to_s,@bintypes.to_s,event.sprintf(@binvalues)
48
49
  end
49
50
  end # class LogStash::Outputs::Aerospike
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-aerospike'
3
- s.version = '0.2.1'
3
+ s.version = '0.3.0'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = ''
6
6
  s.description = ''
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-aerospike
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''