fluent-plugin-snowplow 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 +4 -4
- data/lib/fluent/plugin/out_snowplow.rb +3 -1
- data/lib/fluent/plugin/snowplow/version.rb +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: ffafeda9841cf47af54a794e24abfb8463250885
|
4
|
+
data.tar.gz: 978a8da22192dbad6185dfcdbc9800de0acfb76c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2dbe951d332df308a5718c6bf8d06d189ed4ca9209c423919feaf82749c9ca995edcf579591e5f19abfa2a9ab0ebd49394204628b268495fe6d20a466d7e710
|
7
|
+
data.tar.gz: 6cfca5ce9fc0c92b4e94960e29d03c3e47308cc0835fb4d2fdcc8a3faf51a95eaca7bef2b1d10fc9f2ee956d088c37af9db6bcead9afe3fbefe7e4b2bd21393b
|
@@ -18,7 +18,9 @@ class Fluent::SomeOutput < Fluent::TimeSlicedOutput
|
|
18
18
|
@emitter = SnowplowTracker::Emitter.new(@host, {
|
19
19
|
buffer_size: @buffer_size,
|
20
20
|
protocol: @protocol,
|
21
|
-
method: @method
|
21
|
+
method: @method,
|
22
|
+
on_success: ->(_) { log.debug("Flush with success on snowplow") },
|
23
|
+
on_failure: ->(_, _) { raise "Error when flushing to snowplow" }
|
22
24
|
})
|
23
25
|
|
24
26
|
@trackers = {}
|