karafka 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +14 -8
- data/README.md +6 -0
- data/karafka.gemspec +7 -2
- data/lib/karafka/version.rb +1 -1
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f8c560eb30d1e8365d228786192ff6f1160e72cad7bb601a8a2fa88c4a1bdba
|
4
|
+
data.tar.gz: d56768f5127ba10bbd39b318b9b8efe696f65a93e29c2706de279e9bd3f9278f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fed993507c0c79e90a8b11797db8caefb2565503f9076b01781892b0d97e941525d52a0f1bf273eee3d99b44b563e227b31e61cb82d790a02c19fd21915bd3fa
|
7
|
+
data.tar.gz: e64fdd7e015421048f93f693948d32e5cab85e7c0d8daab50e1810f3128e35544bc570468536800f0667ae1427b726582f2298c3b39b5c34c47d4a4b6ceb932a
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
karafka (1.2.
|
4
|
+
karafka (1.2.7)
|
5
5
|
activesupport (>= 4.0)
|
6
6
|
dry-configurable (~> 0.7)
|
7
7
|
dry-inflector (~> 0.1.1)
|
@@ -11,9 +11,9 @@ PATH
|
|
11
11
|
multi_json (>= 1.12)
|
12
12
|
rake (>= 11.3)
|
13
13
|
require_all (>= 1.4)
|
14
|
-
ruby-kafka (
|
14
|
+
ruby-kafka (>= 0.6)
|
15
15
|
thor (~> 0.19)
|
16
|
-
waterdrop (~> 1.2.
|
16
|
+
waterdrop (~> 1.2.4)
|
17
17
|
|
18
18
|
GEM
|
19
19
|
remote: https://rubygems.org/
|
@@ -25,10 +25,12 @@ GEM
|
|
25
25
|
tzinfo (~> 1.1)
|
26
26
|
benchmark-ips (2.7.2)
|
27
27
|
concurrent-ruby (1.0.5)
|
28
|
+
concurrent-ruby (1.0.5-java)
|
28
29
|
delivery_boy (0.2.7)
|
29
30
|
king_konf (~> 0.2)
|
30
31
|
ruby-kafka (~> 0.5)
|
31
32
|
diff-lcs (1.3)
|
33
|
+
digest-crc (0.4.1)
|
32
34
|
docile (1.3.1)
|
33
35
|
dry-configurable (0.7.0)
|
34
36
|
concurrent-ruby (~> 1.0)
|
@@ -59,7 +61,7 @@ GEM
|
|
59
61
|
dry-equalizer (~> 0.2)
|
60
62
|
dry-inflector (~> 0.1, >= 0.1.2)
|
61
63
|
dry-logic (~> 0.4, >= 0.4.2)
|
62
|
-
dry-validation (0.12.
|
64
|
+
dry-validation (0.12.2)
|
63
65
|
concurrent-ruby (~> 1.0)
|
64
66
|
dry-configurable (~> 0.1, >= 0.1.3)
|
65
67
|
dry-core (~> 0.2, >= 0.2.1)
|
@@ -71,6 +73,7 @@ GEM
|
|
71
73
|
i18n (1.1.0)
|
72
74
|
concurrent-ruby (~> 1.0)
|
73
75
|
json (2.1.0)
|
76
|
+
json (2.1.0-java)
|
74
77
|
king_konf (0.3.6)
|
75
78
|
minitest (5.11.3)
|
76
79
|
multi_json (1.13.1)
|
@@ -91,7 +94,8 @@ GEM
|
|
91
94
|
diff-lcs (>= 1.2.0, < 2.0)
|
92
95
|
rspec-support (~> 3.8.0)
|
93
96
|
rspec-support (3.8.0)
|
94
|
-
ruby-kafka (0.
|
97
|
+
ruby-kafka (0.7.1)
|
98
|
+
digest-crc
|
95
99
|
simplecov (0.16.1)
|
96
100
|
docile (~> 1.1)
|
97
101
|
json (>= 1.8, < 3)
|
@@ -99,18 +103,20 @@ GEM
|
|
99
103
|
simplecov-html (0.10.2)
|
100
104
|
thor (0.20.0)
|
101
105
|
thread_safe (0.3.6)
|
106
|
+
thread_safe (0.3.6-java)
|
102
107
|
timecop (0.9.1)
|
103
108
|
tzinfo (1.2.5)
|
104
109
|
thread_safe (~> 0.1)
|
105
|
-
waterdrop (1.2.
|
110
|
+
waterdrop (1.2.4)
|
106
111
|
delivery_boy (~> 0.2)
|
107
112
|
dry-configurable (~> 0.7)
|
108
113
|
dry-monitor (~> 0.1)
|
109
114
|
dry-validation (~> 0.11)
|
110
115
|
null-logger (~> 0.1)
|
111
|
-
ruby-kafka (
|
116
|
+
ruby-kafka (>= 0.6)
|
112
117
|
|
113
118
|
PLATFORMS
|
119
|
+
java
|
114
120
|
ruby
|
115
121
|
|
116
122
|
DEPENDENCIES
|
@@ -121,4 +127,4 @@ DEPENDENCIES
|
|
121
127
|
timecop
|
122
128
|
|
123
129
|
BUNDLED WITH
|
124
|
-
1.16.
|
130
|
+
1.16.5
|
data/README.md
CHANGED
@@ -25,6 +25,7 @@ Karafka based applications can be easily deployed to any type of infrastructure,
|
|
25
25
|
* Heroku
|
26
26
|
* Capistrano
|
27
27
|
* Docker
|
28
|
+
* Terraform
|
28
29
|
|
29
30
|
## Support
|
30
31
|
|
@@ -34,6 +35,11 @@ If you have any questions about using Karafka, feel free to join our [Gitter](ht
|
|
34
35
|
|
35
36
|
## Getting started
|
36
37
|
|
38
|
+
If you're completely new to the subject, you can start with our "Kafka on Rails" articles series, that will get you up and running with the terminology and basic ideas behind using Kafka:
|
39
|
+
|
40
|
+
- [Kafka on Rails: Using Kafka with Ruby on Rails – Part 1 – Kafka basics and its advantages](https://mensfeld.pl/2017/11/kafka-on-rails-using-kafka-with-ruby-on-rails-part-1-kafka-basics-and-its-advantages/)
|
41
|
+
- [Kafka on Rails: Using Kafka with Ruby on Rails – Part 2 – Getting started with Ruby and Kafka](https://mensfeld.pl/2018/01/kafka-on-rails-using-kafka-with-ruby-on-rails-part-2-getting-started-with-ruby-and-kafka/)
|
42
|
+
|
37
43
|
If you want to get started with Kafka and Karafka as fast as possible, then the best idea is to just clone our example repository:
|
38
44
|
|
39
45
|
```bash
|
data/karafka.gemspec
CHANGED
@@ -25,9 +25,14 @@ Gem::Specification.new do |spec|
|
|
25
25
|
spec.add_dependency 'multi_json', '>= 1.12'
|
26
26
|
spec.add_dependency 'rake', '>= 11.3'
|
27
27
|
spec.add_dependency 'require_all', '>= 1.4'
|
28
|
-
spec.add_dependency 'ruby-kafka', '
|
28
|
+
spec.add_dependency 'ruby-kafka', '>= 0.6'
|
29
29
|
spec.add_dependency 'thor', '~> 0.19'
|
30
|
-
spec.add_dependency 'waterdrop', '~> 1.2.
|
30
|
+
spec.add_dependency 'waterdrop', '~> 1.2.4'
|
31
|
+
|
32
|
+
spec.post_install_message = <<~MSG
|
33
|
+
\e[93mWarning:\e[0m If you're using Kafka 0.10, please lock ruby-kafka in your Gemfile to version '0.6.8':
|
34
|
+
gem 'ruby-kafka', '~> 0.6.8'
|
35
|
+
MSG
|
31
36
|
|
32
37
|
spec.required_ruby_version = '>= 2.3.0'
|
33
38
|
|
data/lib/karafka/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: karafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2018-
|
13
|
+
date: 2018-09-20 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -142,16 +142,16 @@ dependencies:
|
|
142
142
|
name: ruby-kafka
|
143
143
|
requirement: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
|
-
- - "
|
145
|
+
- - ">="
|
146
146
|
- !ruby/object:Gem::Version
|
147
|
-
version: 0.6
|
147
|
+
version: '0.6'
|
148
148
|
type: :runtime
|
149
149
|
prerelease: false
|
150
150
|
version_requirements: !ruby/object:Gem::Requirement
|
151
151
|
requirements:
|
152
|
-
- - "
|
152
|
+
- - ">="
|
153
153
|
- !ruby/object:Gem::Version
|
154
|
-
version: 0.6
|
154
|
+
version: '0.6'
|
155
155
|
- !ruby/object:Gem::Dependency
|
156
156
|
name: thor
|
157
157
|
requirement: !ruby/object:Gem::Requirement
|
@@ -172,14 +172,14 @@ dependencies:
|
|
172
172
|
requirements:
|
173
173
|
- - "~>"
|
174
174
|
- !ruby/object:Gem::Version
|
175
|
-
version: 1.2.
|
175
|
+
version: 1.2.4
|
176
176
|
type: :runtime
|
177
177
|
prerelease: false
|
178
178
|
version_requirements: !ruby/object:Gem::Requirement
|
179
179
|
requirements:
|
180
180
|
- - "~>"
|
181
181
|
- !ruby/object:Gem::Version
|
182
|
-
version: 1.2.
|
182
|
+
version: 1.2.4
|
183
183
|
description: Framework used to simplify Apache Kafka based Ruby applications development
|
184
184
|
email:
|
185
185
|
- maciej@coditsu.io
|
@@ -279,7 +279,8 @@ homepage: https://github.com/karafka/karafka
|
|
279
279
|
licenses:
|
280
280
|
- MIT
|
281
281
|
metadata: {}
|
282
|
-
post_install_message:
|
282
|
+
post_install_message: "\e[93mWarning:\e[0m If you're using Kafka 0.10, please lock
|
283
|
+
ruby-kafka in your Gemfile to version '0.6.8':\ngem 'ruby-kafka', '~> 0.6.8'\n"
|
283
284
|
rdoc_options: []
|
284
285
|
require_paths:
|
285
286
|
- lib
|