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 +4 -4
- data/lib/logstash/outputs/aerospike.rb +4 -3
- data/logstash-output-aerospike.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe53d21eeb6df4e54ce0a9ebb8ddc9cc56ee3eda
|
4
|
+
data.tar.gz: 6c1969b5951bdea1061aa36f59ede5675729098f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
42
|
-
|
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
|
-
|
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
|