karafka 1.4.0.rc1 → 1.4.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/CHANGELOG.md +2 -2
- data/Gemfile.lock +1 -1
- data/lib/karafka/params/params.rb +4 -0
- data/lib/karafka/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62798b3cc6f5f12fd89e13e4f1163aaf6f759d9cebf7862b591e7d3c6603bfc3
|
4
|
+
data.tar.gz: f4b416b014de9d6b4da282735014d5e16ec4195db01b98798764efc7a9c8ce8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47848c70c13d6456c863e9c0811e08084f9ad1710ac299e2a954eed08e5b283eb990333c4443bfcaf70929d1fc85d597ff820b5321016fe19ef4d78951dd2853
|
7
|
+
data.tar.gz: 961cfbc6c5be4acef1c897c685f591c1549c92ea95f438013ce405f073b1e85745b4413a726017bed8b328a76d100bdd4fc1f9b74eeffd6bca0561e2d4d7632c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# Karafka framework changelog
|
2
2
|
|
3
|
-
## 1.4.0.
|
3
|
+
## 1.4.0.rc2 (2020-08-25)
|
4
4
|
- Rename `Karafka::Params::Metadata` to `Karafka::Params::BatchMetadata`
|
5
5
|
` Rename consumer `#metadata` to `#batch_metadata`
|
6
|
-
- Separate metadata (including Karafka native metadata) from the root of params
|
6
|
+
- Separate metadata (including Karafka native metadata) from the root of params (backwards compatibility preseverd thanks to rabotyaga)
|
7
7
|
- Remove metadata hash dependency
|
8
8
|
- Remove params dependency on a hash in favour of PORO
|
9
9
|
- Remove batch metadata dependency on a hash
|
data/Gemfile.lock
CHANGED
@@ -7,8 +7,12 @@ module Karafka
|
|
7
7
|
# using deserializer until we execute our logic. That way we can operate with
|
8
8
|
# heavy-deserialization data without slowing down the whole application.
|
9
9
|
class Params
|
10
|
+
extend Forwardable
|
11
|
+
|
10
12
|
attr_reader :raw_payload, :metadata
|
11
13
|
|
14
|
+
def_delegators :metadata, *Metadata.members
|
15
|
+
|
12
16
|
# @param raw_payload [Object] incoming payload before deserialization
|
13
17
|
# @param metadata [Karafka::Params::Metadata] message metadata object
|
14
18
|
def initialize(raw_payload, metadata)
|
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.4.0.
|
4
|
+
version: 1.4.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
2DND//YJUikn1zwbz1kT70XmHd97B4Eytpln7K+M1u2g1pHVEPW4owD/ammXNpUy
|
37
37
|
nt70FcDD4yxJQ+0YNiHd0N8IcVBM1TMIVctMNQ==
|
38
38
|
-----END CERTIFICATE-----
|
39
|
-
date: 2020-08-
|
39
|
+
date: 2020-08-30 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: dry-configurable
|
metadata.gz.sig
CHANGED
Binary file
|