rafka 0.4.0 → 0.4.1
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 -1
- data/README.md +4 -6
- data/lib/rafka/version.rb +1 -1
- metadata +3 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 298aa80cafed24d522c37312a86bac1f81b74f79
|
4
|
+
data.tar.gz: c282176e68fa39923a14850f84690f2a4f897a8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dc4609117de5fed0965b0c0a842eb52d2d476c5be19676ea6fc6d188d6f7d9122097df2923887a3275db762bbf97c39b6e1797b757a8a8cdfbfe5cbc520134e
|
7
|
+
data.tar.gz: e9eb72063aa3ba0396205b6b6791d228bab9106d2c02bde5064232608cf235f3bfb4c7007ebd5147e588604b8bd4e072cfd0920b5e83be21ff6e4a8d68522626
|
data/CHANGELOG.md
CHANGED
@@ -5,8 +5,11 @@ Breaking changes are prefixed with a "[BREAKING]" label.
|
|
5
5
|
## master (unreleased)
|
6
6
|
|
7
7
|
|
8
|
+
## 0.4.1 (2018-23-05)
|
8
9
|
|
10
|
+
### Changed
|
9
11
|
|
12
|
+
- Relax redis-rb dependency to support v4.0.0 or later [[#21](https://github.com/skroutz/rafka-rb/pull/21)]
|
10
13
|
|
11
14
|
|
12
15
|
## 0.4.0 (2018-09-04)
|
@@ -19,7 +22,7 @@ Breaking changes are prefixed with a "[BREAKING]" label.
|
|
19
22
|
|
20
23
|
|
21
24
|
|
22
|
-
|
25
|
+
## 0.3.0 (2018-06-07)
|
23
26
|
|
24
27
|
### Added
|
25
28
|
|
data/README.md
CHANGED
@@ -4,9 +4,7 @@ rafka-rb
|
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/rafka.svg)](https://badge.fury.io/rb/rafka)
|
5
5
|
[![Documentation](http://img.shields.io/badge/yard-docs-blue.svg)](http://www.rubydoc.info/github/skroutz/rafka-rb)
|
6
6
|
|
7
|
-
rafka-rb is a Ruby client library for [Rafka](https://github.com/skroutz/rafka).
|
8
|
-
|
9
|
-
It provides Consumer and Producer implementations with simple semantics.
|
7
|
+
rafka-rb is a Ruby client library for [Rafka](https://github.com/skroutz/rafka), providing Consumer and Producer implementations with simple semantics.
|
10
8
|
|
11
9
|
Refer to the [API documentation](http://www.rubydoc.info/github/skroutz/rafka-rb)
|
12
10
|
for more information.
|
@@ -19,11 +17,11 @@ for more information.
|
|
19
17
|
Features
|
20
18
|
-------------------------------------------------------------------------------
|
21
19
|
|
22
|
-
- Consumer
|
20
|
+
- Consumer
|
23
21
|
- consumer groups
|
24
22
|
- support for consuming in batches
|
25
23
|
- offsets may be managed automatically or manually
|
26
|
-
- Producer
|
24
|
+
- Producer
|
27
25
|
- support for partition hashing key
|
28
26
|
|
29
27
|
|
@@ -90,7 +88,7 @@ Offsets are managed automatically by default. If you need more control you can
|
|
90
88
|
turn off the feature and manually commit offsets:
|
91
89
|
|
92
90
|
```ruby
|
93
|
-
consumer = Rafka::Consumer.new(topic: "greetings", group: "myapp",
|
91
|
+
consumer = Rafka::Consumer.new(topic: "greetings", group: "myapp", auto_commit: false)
|
94
92
|
|
95
93
|
# commit a single offset
|
96
94
|
msg = consumer.consume
|
data/lib/rafka/version.rb
CHANGED
metadata
CHANGED
@@ -1,35 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Agis Anastasopoulos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: redis
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '3'
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 3.3.2
|
23
|
-
type: :runtime
|
24
|
-
prerelease: false
|
25
|
-
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
requirements:
|
27
|
-
- - "~>"
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '3'
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 3.3.2
|
33
13
|
- !ruby/object:Gem::Dependency
|
34
14
|
name: minitest
|
35
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -139,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
119
|
version: '0'
|
140
120
|
requirements: []
|
141
121
|
rubyforge_project:
|
142
|
-
rubygems_version: 2.5.2
|
122
|
+
rubygems_version: 2.5.2.3
|
143
123
|
signing_key:
|
144
124
|
specification_version: 4
|
145
125
|
summary: Ruby driver for Rafka
|