sbmt-kafka_producer 2.2.0 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/Appraisals +1 -3
- data/CHANGELOG.md +13 -0
- data/Gemfile +3 -0
- data/lib/sbmt/kafka_producer/instrumentation/yabeda_metrics_listener.rb +2 -2
- data/lib/sbmt/kafka_producer/version.rb +1 -1
- data/sbmt-kafka_producer.gemspec +2 -2
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5e838e0df302300e7c1b9b226edd81af21f4f836e520d03d0e47a7263732eec
|
4
|
+
data.tar.gz: 21d9f7f42b5338f79734e43737383d819eb53cb8403c57ca4b002aef0bd53416
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4be18e16012cbb34b54ab75d577ed5847028757859c4363f0c58806daa9a6be91ee698b11867157481ed4e718d5d389c836d31c02541e77f5cb940bafc7dbb7
|
7
|
+
data.tar.gz: b7bf961952f18c32b9c51f0bb375ae1c77fffbc5c82b158025e5503997bd99dd05d34dc2b706f2e9740dae59ec4dc7c3370620abdb2c0d9b0bc5df22aedfc828
|
data/.rubocop.yml
CHANGED
data/Appraisals
CHANGED
@@ -3,12 +3,10 @@
|
|
3
3
|
# See compatibility table at https://www.fastruby.io/blog/ruby/rails/versions/compatibility-table.html
|
4
4
|
|
5
5
|
versions_map = {
|
6
|
-
"5.1" => %w[2.7],
|
7
|
-
"5.2" => %w[2.7],
|
8
6
|
"6.0" => %w[2.7],
|
9
7
|
"6.1" => %w[2.7 3.0],
|
10
8
|
"7.0" => %w[3.1],
|
11
|
-
"7.1" => %w[3.2]
|
9
|
+
"7.1" => %w[3.2, 3.3]
|
12
10
|
}
|
13
11
|
|
14
12
|
current_ruby_version = RUBY_VERSION.split(".").first(2).join(".")
|
data/CHANGELOG.md
CHANGED
@@ -13,6 +13,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
13
13
|
|
14
14
|
### Fixed
|
15
15
|
|
16
|
+
## [2.2.2] - 2024-06-15
|
17
|
+
|
18
|
+
### Fixed
|
19
|
+
|
20
|
+
- Fixed display of metrics `kafka_api_calls` and `kafka_api_errors`
|
21
|
+
|
22
|
+
## [2.2.1] - 2024-06-07
|
23
|
+
|
24
|
+
### Changed
|
25
|
+
|
26
|
+
- Drop support for Rails 5
|
27
|
+
- Temporary limit upper version of Waterdrop to less than 2.7
|
28
|
+
|
16
29
|
## [2.2.0] - 2024-04-12
|
17
30
|
|
18
31
|
### Changed
|
data/Gemfile
CHANGED
@@ -71,7 +71,7 @@ module Sbmt
|
|
71
71
|
}
|
72
72
|
|
73
73
|
Yabeda.kafka_api.calls
|
74
|
-
.increment(broker_tags, by: broker_statistics["
|
74
|
+
.increment(broker_tags, by: broker_statistics["tx_d"])
|
75
75
|
Yabeda.kafka_api.latency
|
76
76
|
.measure(broker_tags, broker_statistics["rtt"]["avg"])
|
77
77
|
Yabeda.kafka_api.request_size
|
@@ -79,7 +79,7 @@ module Sbmt
|
|
79
79
|
Yabeda.kafka_api.response_size
|
80
80
|
.measure(broker_tags, broker_statistics["rxbytes"])
|
81
81
|
Yabeda.kafka_api.errors
|
82
|
-
.increment(broker_tags, by: broker_statistics["
|
82
|
+
.increment(broker_tags, by: broker_statistics["txerrs_d"] + broker_statistics["rxerrs_d"])
|
83
83
|
end
|
84
84
|
end
|
85
85
|
end
|
data/sbmt-kafka_producer.gemspec
CHANGED
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.add_dependency "connection_pool"
|
36
36
|
spec.add_dependency "dry-initializer", "~> 3.0"
|
37
37
|
spec.add_dependency "dry-struct"
|
38
|
-
spec.add_dependency "waterdrop", "~> 2.5"
|
38
|
+
spec.add_dependency "waterdrop", "~> 2.5", "< 2.7" # BREAKING: undefined method `wait_timeout='' for #<Karafka::Core::Configurable::Node`
|
39
39
|
spec.add_dependency "zeitwerk", "~> 2.6"
|
40
40
|
spec.add_dependency "yabeda", ">= 0.11"
|
41
41
|
|
@@ -47,7 +47,7 @@ Gem::Specification.new do |spec|
|
|
47
47
|
spec.add_development_dependency "opentelemetry-common", ">= 0.17.0"
|
48
48
|
spec.add_development_dependency "opentelemetry-instrumentation-base", ">= 0.17.0"
|
49
49
|
spec.add_development_dependency "rake", ">= 13.0"
|
50
|
-
spec.add_development_dependency "rails", ">=
|
50
|
+
spec.add_development_dependency "rails", ">= 6.0"
|
51
51
|
spec.add_development_dependency "rspec", ">= 3.0"
|
52
52
|
spec.add_development_dependency "rspec_junit_formatter", ">= 0.6"
|
53
53
|
spec.add_development_dependency "rspec-rails", ">= 4.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sbmt-kafka_producer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sbermarket Ruby-Platform Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: anyway_config
|
@@ -73,6 +73,9 @@ dependencies:
|
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '2.5'
|
76
|
+
- - "<"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '2.7'
|
76
79
|
type: :runtime
|
77
80
|
prerelease: false
|
78
81
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -80,6 +83,9 @@ dependencies:
|
|
80
83
|
- - "~>"
|
81
84
|
- !ruby/object:Gem::Version
|
82
85
|
version: '2.5'
|
86
|
+
- - "<"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '2.7'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: zeitwerk
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -226,14 +232,14 @@ dependencies:
|
|
226
232
|
requirements:
|
227
233
|
- - ">="
|
228
234
|
- !ruby/object:Gem::Version
|
229
|
-
version: '
|
235
|
+
version: '6.0'
|
230
236
|
type: :development
|
231
237
|
prerelease: false
|
232
238
|
version_requirements: !ruby/object:Gem::Requirement
|
233
239
|
requirements:
|
234
240
|
- - ">="
|
235
241
|
- !ruby/object:Gem::Version
|
236
|
-
version: '
|
242
|
+
version: '6.0'
|
237
243
|
- !ruby/object:Gem::Dependency
|
238
244
|
name: rspec
|
239
245
|
requirement: !ruby/object:Gem::Requirement
|
@@ -420,7 +426,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
420
426
|
- !ruby/object:Gem::Version
|
421
427
|
version: '0'
|
422
428
|
requirements: []
|
423
|
-
rubygems_version: 3.
|
429
|
+
rubygems_version: 3.5.11
|
424
430
|
signing_key:
|
425
431
|
specification_version: 4
|
426
432
|
summary: Ruby gem for producing Kafka messages
|