kril 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/bin/kril +2 -3
- data/lib/kril/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dda6951776c4718cc0489e28c94ee95d2acddaa3
|
4
|
+
data.tar.gz: ea5316e4f7eed15c6a51a969f1cf35e4330540e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ff7192cb265d7d7b24539e61b9adb336ce52f7e3a6a15f7520914cc3a83a905914185bfb644b10fa27584afbf5e9313c8cb7139744a8cc7f941e4e089815323
|
7
|
+
data.tar.gz: 9a95ed7556e1e0d4a78e3905182d79039e228a52590a7a874b9dc4171ff603b656a85adb08c9b84d4e7ec1a6e85e3acb50f274673b8f7efe7c35e16acfac7e13
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
kril (0.2.
|
4
|
+
kril (0.2.4)
|
5
5
|
avro_turf (~> 0.8.0)
|
6
6
|
clamp (~> 1.2, >= 1.2.1)
|
7
7
|
ruby-kafka (~> 0.5.3)
|
@@ -16,7 +16,7 @@ GEM
|
|
16
16
|
excon (~> 0.45)
|
17
17
|
clamp (1.2.1)
|
18
18
|
diff-lcs (1.3)
|
19
|
-
excon (0.
|
19
|
+
excon (0.62.0)
|
20
20
|
httparty (0.13.7)
|
21
21
|
json (~> 1.8)
|
22
22
|
multi_xml (>= 0.5.2)
|
data/bin/kril
CHANGED
@@ -91,13 +91,12 @@ Clamp do
|
|
91
91
|
producer = Kril::Producer.new(kafka: kafka, avro: avro)
|
92
92
|
name, namespace, fullname = schema_name(store)
|
93
93
|
record_as_json = JSON.parse(record)
|
94
|
-
topic ||= fullname
|
95
94
|
producer.send(record: record_as_json,
|
96
95
|
schema_name: name,
|
97
96
|
namespace: namespace,
|
98
|
-
topic: topic,
|
97
|
+
topic: topic || fullname,
|
99
98
|
syncronous: synchronous?)
|
100
|
-
print_record(topic, record_as_json)
|
99
|
+
print_record(topic || fullname, record_as_json)
|
101
100
|
end
|
102
101
|
|
103
102
|
def consume_records(kafka, avro)
|
data/lib/kril/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kril
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chad Bowman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avro_turf
|