sbmt-kafka_consumer 3.2.0 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/sbmt/kafka_consumer/base_consumer.rb +5 -1
- data/lib/sbmt/kafka_consumer/version.rb +1 -1
- data/sbmt-kafka_consumer.gemspec +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5a5ec88a0a62d524925444b52430e6d57331c2eb58dfff213b92b635353ea2f
|
4
|
+
data.tar.gz: 50d8e0b6320c0cc22b70dcc12c0fb8670802786d8637a901de953f04cfc39b46
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 655cae48292b61cf07d6dd58acd9249ee2adbf4244ff74ec8a7674237619dd29832588c31bf9f6294c08fd3985de8c87bff9b0eb3145bce461461a06c8cd56f3
|
7
|
+
data.tar.gz: a1395fe3c16faa385cba9d8924101217043993d824b1ac7d2a1a28f31fc19c824c1a252346d6957c6c271d6c6927b072afeaae4b27397b874812d22868077ac5
|
data/CHANGELOG.md
CHANGED
@@ -13,6 +13,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
13
13
|
|
14
14
|
### Fixed
|
15
15
|
|
16
|
+
## [3.2.2] - 2024-09-23
|
17
|
+
|
18
|
+
### Fixed
|
19
|
+
|
20
|
+
- log OTEL `trace_id`
|
21
|
+
|
22
|
+
## [3.2.1] - 2024-09-20
|
23
|
+
|
24
|
+
### Fixed
|
25
|
+
|
26
|
+
- Limit Karafka version to less than 2.4.12 since `bootstrap.servers` has been made required
|
27
|
+
|
16
28
|
## [3.2.0] - 2024-09-17
|
17
29
|
|
18
30
|
### Added
|
@@ -162,7 +162,11 @@ module Sbmt
|
|
162
162
|
end
|
163
163
|
|
164
164
|
def trace_id
|
165
|
-
|
165
|
+
return nil unless defined?(::OpenTelemetry)
|
166
|
+
|
167
|
+
context = ::OpenTelemetry::Trace.current_span.context
|
168
|
+
|
169
|
+
context.valid? ? context.hex_trace_id : nil
|
166
170
|
end
|
167
171
|
|
168
172
|
def config
|
data/sbmt-kafka_consumer.gemspec
CHANGED
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
|
|
33
33
|
|
34
34
|
spec.add_dependency "rails", ">= 6.1"
|
35
35
|
spec.add_dependency "zeitwerk", "~> 2.3"
|
36
|
-
spec.add_dependency "karafka", "~> 2.4"
|
36
|
+
spec.add_dependency "karafka", "~> 2.4", "< 2.4.12"
|
37
37
|
spec.add_dependency "yabeda", ">= 0.11"
|
38
38
|
spec.add_dependency "anyway_config", ">= 2.4.0"
|
39
39
|
spec.add_dependency "thor"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sbmt-kafka_consumer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kuper Ruby-Platform Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-09-
|
11
|
+
date: 2024-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -45,6 +45,9 @@ dependencies:
|
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '2.4'
|
48
|
+
- - "<"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 2.4.12
|
48
51
|
type: :runtime
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -52,6 +55,9 @@ dependencies:
|
|
52
55
|
- - "~>"
|
53
56
|
- !ruby/object:Gem::Version
|
54
57
|
version: '2.4'
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 2.4.12
|
55
61
|
- !ruby/object:Gem::Dependency
|
56
62
|
name: yabeda
|
57
63
|
requirement: !ruby/object:Gem::Requirement
|