sbmt-kafka_consumer 3.5.0 → 3.5.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: 154e6119902a6a98feb29acc776dfae337dce3adf8f38415f199df1679ccbb92
4
- data.tar.gz: 43e66f90c2f22e3dee7890212bbf296fb9fa8fe5e8aca46fe125db41eca4dc54
3
+ metadata.gz: 872a886b138e7956051e347be06915f7c9153abd50076ae2ae77e0fc83672e48
4
+ data.tar.gz: 651678b88fe6f8fde83ec4c086dc7bbfcc5edd5ff1dfd214b151bca76f8b3783
5
5
  SHA512:
6
- metadata.gz: 66c05c9b080b6d7c07df7fcd5217e69fa48a8ecd298bab2f09ce80b90c15d147d2ae0c09a4b89d508f4d0df280801262e1946ececfff366b3fc68612892da256
7
- data.tar.gz: b2ee4f5ca7e4b5b301596b0aa147b2426171be092f560eb084779c22050b04d0afe29c3232746cb7e915633f1389d41cf61d8e39eea073de35daa7aadebd3e12
6
+ metadata.gz: 2b60b4a2a5f84f9e3f6bc7602e352d14a373f49c9bab3d30784259e8a41e01e4d5d4324257a283cec6f3a23169ff47824fbf5c702acab891214c1ba806f2da90
7
+ data.tar.gz: 2ad55a703d2a6e264d1ceca17335d0a9a6c38250eba00d7c4b8dc4848df1a83442e6c6de1e59916be7ac0de9f3d99114b3c1b0fc0dda24501b8f05d38c867b8f
data/CHANGELOG.md CHANGED
@@ -9,16 +9,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
9
9
 
10
10
  ### Added
11
11
 
12
- - Increase default timeout to 300 seconds for better accommodation of temporary delays.
13
- - Make liveness probe listener thread-safe using a mutex.
14
- - Use monotonic clock for more accurate time measurements in liveness checks.
15
- - Simplify liveness status checking logic.
16
- - Support Rack v3
17
-
18
12
  ### Changed
19
13
 
20
14
  ### Fixed
21
15
 
16
+ ## [3.5.1] - 2025-04-18
17
+
18
+ ### Fixed
19
+
20
+ - Rename `yabeda_kafka_consumer_consumer_group_rebalances` gauge to `yabeda_kafka_consumer_group_rebalances`
21
+ - Change type of `yabeda_kafka_consumer_group_rebalances` from `Counter` to `Gauge`
22
+
22
23
  ## [3.5.0] - 2025-04-17
23
24
 
24
25
  ### Added
@@ -150,8 +150,8 @@ module Sbmt
150
150
  state: group_stats["state"]
151
151
  }
152
152
 
153
- Yabeda.kafka_consumer.consumer_group_rebalances
154
- .increment(cg_tags, by: group_stats["rebalance_cnt"])
153
+ Yabeda.kafka_consumer.group_rebalances
154
+ .set(cg_tags, group_stats["rebalance_cnt"])
155
155
  end
156
156
 
157
157
  def report_topic_stats(group_id, topic_stats)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sbmt
4
4
  module KafkaConsumer
5
- VERSION = "3.5.0"
5
+ VERSION = "3.5.1"
6
6
  end
7
7
  end
@@ -30,7 +30,7 @@ module Sbmt
30
30
  end
31
31
 
32
32
  group :kafka_consumer do
33
- counter :consumer_group_rebalances,
33
+ gauge :group_rebalances,
34
34
  tags: %i[client group_id state],
35
35
  comment: "Consumer group rebalances"
36
36
 
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.5.0
4
+ version: 3.5.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-04-17 00:00:00.000000000 Z
11
+ date: 2025-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails