sbmt-kafka_consumer 3.5.0 → 3.5.2

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: 77c1354574c2dfb437830c51a01a32ceab8f5f397b5036d37573478d12b83a91
4
+ data.tar.gz: fe8be12bb9b21cae3b1f261a97e749e32c11339537018815c21bb5802dae6235
5
5
  SHA512:
6
- metadata.gz: 66c05c9b080b6d7c07df7fcd5217e69fa48a8ecd298bab2f09ce80b90c15d147d2ae0c09a4b89d508f4d0df280801262e1946ececfff366b3fc68612892da256
7
- data.tar.gz: b2ee4f5ca7e4b5b301596b0aa147b2426171be092f560eb084779c22050b04d0afe29c3232746cb7e915633f1389d41cf61d8e39eea073de35daa7aadebd3e12
6
+ metadata.gz: 9913ef961b4306b2af44f442de9e0211d99636e2c07f976cb375d02539cfc2ec6691f501d7f38b501f910f393f2f741ce04772a3c67d6bbde6bc518eb97bcdd2
7
+ data.tar.gz: b39c08a5cd1f38969b5158c5523dc683b3322ca7b08acb465f5638e6a2644c9cc28d043fe933d731208c094212c979b7b5db1421cce8107fdd07d4cdff2292cd
data/CHANGELOG.md CHANGED
@@ -9,16 +9,23 @@ 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
12
+ ### Changed
13
+
14
+ ### Fixed
15
+
16
+ ## [3.5.2] - 2025-07-21
17
17
 
18
18
  ### Changed
19
19
 
20
+ - Add Rack 3 support: unfreeze headers hash in probes response.
21
+
22
+ ## [3.5.1] - 2025-04-18
23
+
20
24
  ### Fixed
21
25
 
26
+ - Rename `yabeda_kafka_consumer_consumer_group_rebalances` gauge to `yabeda_kafka_consumer_group_rebalances`
27
+ - Change type of `yabeda_kafka_consumer_group_rebalances` from `Counter` to `Gauge`
28
+
22
29
  ## [3.5.0] - 2025-04-17
23
30
 
24
31
  ### 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)
@@ -4,7 +4,7 @@ module Sbmt
4
4
  module KafkaConsumer
5
5
  module Probes
6
6
  module Probe
7
- HEADERS = {"Content-Type" => "application/json"}.freeze
7
+ HEADERS = {"Content-Type" => "application/json"}
8
8
 
9
9
  def call(env)
10
10
  with_error_handler { probe(env) }
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sbmt
4
4
  module KafkaConsumer
5
- VERSION = "3.5.0"
5
+ VERSION = "3.5.2"
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.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: 2025-04-17 00:00:00.000000000 Z
11
+ date: 2025-07-29 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.5.21
568
+ rubygems_version: 3.5.23
569
569
  signing_key:
570
570
  specification_version: 4
571
571
  summary: Ruby gem for consuming Kafka messages