sbmt-kafka_consumer 3.2.1 → 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 +6 -0
- data/lib/sbmt/kafka_consumer/base_consumer.rb +5 -1
- data/lib/sbmt/kafka_consumer/version.rb +1 -1
- metadata +2 -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
@@ -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
|
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
|