ffwd-kafka 0.3.7 → 0.4.0
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 +5 -13
- data/lib/ffwd/plugin/kafka/output.rb +4 -4
- data/lib/ffwd/plugin/kafka/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZjAwNTY2NTA2NTkyN2U3MGJiZWNkNmE4YjkzNTMzMGJhNmViY2YyNA==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7c33e0ad3d1c4903a3be2158593b56ca58a16c38
|
4
|
+
data.tar.gz: 3bfdd3e45e29541a721953790f822d36d4b0dcc0
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
OTdhMThiNWJkMTY3ZGQ0ZmQ4ZTBlMzA5M2JmNTkzZDg4OGZiM2Y2ZTVhYjMw
|
11
|
-
YzE2ZmZkMzc5NGJmZDIzMjlkMGZmOGY4ZjdhNDMwZmI4NTg2Nzk=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
YWI0MTNlMTJmNGQxN2M1ZTczMzMzYmY1ZDFjNGFlNzMzODJjYTNmODA4ZmUx
|
14
|
-
MTA2ZGZlYzExNGVhNmM3ODVkNWEyMTYxM2Q3Nzc5NzgxZTQ5MDUwZTgxNTJj
|
15
|
-
Yjk3MGI4M2E0MGQ4ZjczOTg2ZWU5OGEwM2ViY2YxNDUwZTBlNmI=
|
6
|
+
metadata.gz: 124c8ffb531bc339f56fd0458b0578cda2dfe7a582d52c60b9b836213a6a67a2d0e4dcd57b65eb6332009f82eb1c9f97ae51b7e95157e3bbd45902919e4e118f
|
7
|
+
data.tar.gz: 20232c8fde3636c13b14a1983bb8d69a0cb1b3851c5618a13369b7ba92cc6bd9bf03f0a360031be0dc7cc10913366021e0b8e90b985d14512e27ea13e5359103
|
@@ -25,8 +25,8 @@ module FFWD::Plugin::Kafka
|
|
25
25
|
|
26
26
|
report_meta :component => :kafka
|
27
27
|
|
28
|
-
report_key :
|
29
|
-
report_key :
|
28
|
+
report_key :routing_error, :meta => {:what => "routing-error", :unit => :failure}
|
29
|
+
report_key :routing_success, :meta => {:what => "routing-success", :unit => :success}
|
30
30
|
|
31
31
|
attr_reader :reporter_meta
|
32
32
|
|
@@ -88,10 +88,10 @@ module FFWD::Plugin::Kafka
|
|
88
88
|
end
|
89
89
|
|
90
90
|
if messages.size < expected_messages
|
91
|
-
increment :
|
91
|
+
increment :routing_error, expected_messages - messages.size
|
92
92
|
end
|
93
93
|
|
94
|
-
increment :
|
94
|
+
increment :routing_success, messages.size
|
95
95
|
@instance.send_messages messages
|
96
96
|
end
|
97
97
|
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ffwd-kafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John-John Tedro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: poseidon
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.4.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.4.0
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
- udoprog@spotify.com
|
@@ -45,12 +45,12 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- lib/ffwd/plugin/kafka.rb
|
49
48
|
- lib/ffwd/plugin/kafka/output.rb
|
50
49
|
- lib/ffwd/plugin/kafka/partitioners.rb
|
51
50
|
- lib/ffwd/plugin/kafka/producer.rb
|
52
51
|
- lib/ffwd/plugin/kafka/routers.rb
|
53
52
|
- lib/ffwd/plugin/kafka/version.rb
|
53
|
+
- lib/ffwd/plugin/kafka.rb
|
54
54
|
homepage: https://github.com/spotify/ffwd
|
55
55
|
licenses:
|
56
56
|
- Apache 2.0
|
@@ -61,17 +61,17 @@ require_paths:
|
|
61
61
|
- lib
|
62
62
|
required_ruby_version: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- -
|
64
|
+
- - '>='
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: '0'
|
67
67
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- -
|
69
|
+
- - '>='
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
73
|
rubyforge_project:
|
74
|
-
rubygems_version: 2.
|
74
|
+
rubygems_version: 2.0.14
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Kafka support for FFWD.
|