sbmt-kafka_consumer 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af93b22c9aee1651414e9403f9de60ffbf2c2d85288a1b5f104f9b7b3399d405
|
4
|
+
data.tar.gz: 3e5a22909901810fee2becfd11a6564575a1c801311eac7e3a47f904bd30a600
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91720a7822537c66443713a12b8039e1525c09e9c5fc25aa55d91246081b566c91512a51a3595207ab137089db08468810cab9ad1d94fd32a63c97fcc6aef35b
|
7
|
+
data.tar.gz: 6378ea65496f58f5d9dd1543b9d90a181fef5ff6f3ea254f940298b83c4a8deb299de286beacc8ea258a153dea3d135566a2378f0510857ef515da6b34948ab3
|
data/CHANGELOG.md
CHANGED
@@ -13,6 +13,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
13
13
|
|
14
14
|
### Fixed
|
15
15
|
|
16
|
+
## [3.4.1] - 2025-03-06
|
17
|
+
|
18
|
+
### Fixed
|
19
|
+
- reset consumer offset lag metric to zero after cg rebalance to avoid reporting stale metrics
|
20
|
+
|
16
21
|
## [3.4.0] - 2025-01-27
|
17
22
|
|
18
23
|
### Added
|
@@ -165,7 +165,10 @@ module Sbmt
|
|
165
165
|
offset_lag = partition_statistics["consumer_lag"]
|
166
166
|
next if offset_lag == -1
|
167
167
|
|
168
|
-
|
168
|
+
unless partition_owned?(partition_statistics)
|
169
|
+
# reset offset lag after cg rebalance
|
170
|
+
offset_lag = 0
|
171
|
+
end
|
169
172
|
|
170
173
|
Yabeda.kafka_consumer.offset_lag
|
171
174
|
.set({
|
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.4.
|
4
|
+
version: 3.4.1
|
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: 2025-
|
11
|
+
date: 2025-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -565,7 +565,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
565
565
|
- !ruby/object:Gem::Version
|
566
566
|
version: '0'
|
567
567
|
requirements: []
|
568
|
-
rubygems_version: 3.
|
568
|
+
rubygems_version: 3.3.7
|
569
569
|
signing_key:
|
570
570
|
specification_version: 4
|
571
571
|
summary: Ruby gem for consuming Kafka messages
|