karafka-core 2.4.5 → 2.4.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c065949fe3d9ba7f6605281efc1442ba76f02f7eba894b221ce324504be44a0f
4
- data.tar.gz: 0bfc2330432891ac947fe48092a1d38d2d82f471b03746f262f7c5f2fb604cef
3
+ metadata.gz: ca8cee16c1b8042cb0b3366599aeff212260c3164c42345295eb70c74ced6e43
4
+ data.tar.gz: 7df540c0cc569c96dff46fd30d5c5d40e733663cf948ab8c3617ecfc01e32a54
5
5
  SHA512:
6
- metadata.gz: e94263e6d89adfe07705429abd7f217ced8c0367e3b89db62acbbd59d7980eca1c173ec88333622528f597ac7e381494e5bb0e9a238c10085e088d8c439c8a25
7
- data.tar.gz: 76b86f1d5223d9ac8e37f0391dca2ab44d23eaf86da1ba177c8c8a51a7d7691958fc5ee6a5968a7409bd10549c826cb808beddab002b603ef228bfe78a145e84
6
+ metadata.gz: 6e32ff4af24a4000615db1420a3659d8f9c3babc4542ca16da4b642c4df0e6de28e7e4ff4d69ced8f75422792c0bbba34b59302d8571d42700a11fb2ca67ac10
7
+ data.tar.gz: d37dac3d63d93dca63c17a0c4b3256fd9afa2eec3f742fbb5cf18a18bfcccc59f3a7bcbf696500e6d0900cf199e0de98d105c41d39ded7afe6522b721c0e2038
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Karafka Core Changelog
2
2
 
3
+ ## 2.4.7 (2024-11-26)
4
+ - [Fix] Make sure that `karafka-core` works with older versions of `karafka-rdkafka` that do not support macos fork mitigation.
5
+
6
+ ## 2.4.6 (2024-11-26)
7
+ - [Enhancement] Mitigate macos forking issues when librdkafka is not loaded to memory.
8
+ - [Change] Allow `karafka-rdkafka` `0.18.0`.
9
+
3
10
  ## 2.4.5 (2024-11-19)
4
11
  - **[Breaking]** Drop Ruby `3.0` support according to the EOL schedule.
5
12
  - [Enhancement] Support listeners inspection via `#listeners`.
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- karafka-core (2.4.5)
5
- karafka-rdkafka (>= 0.17.6, < 0.18.0)
4
+ karafka-core (2.4.7)
5
+ karafka-rdkafka (>= 0.17.6, < 0.19.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -31,12 +31,12 @@ GEM
31
31
  ffi (1.17.0)
32
32
  i18n (1.14.5)
33
33
  concurrent-ruby (~> 1.0)
34
- karafka-rdkafka (0.17.6)
34
+ karafka-rdkafka (0.18.0)
35
35
  ffi (~> 1.15)
36
36
  mini_portile2 (~> 2.6)
37
37
  rake (> 12)
38
38
  logger (1.6.1)
39
- mini_portile2 (2.8.7)
39
+ mini_portile2 (2.8.8)
40
40
  minitest (5.25.1)
41
41
  rake (13.2.1)
42
42
  rspec (3.13.0)
data/karafka-core.gemspec CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
  spec.description = 'A toolset of small support modules used throughout the Karafka ecosystem'
17
17
  spec.licenses = %w[MIT]
18
18
 
19
- spec.add_dependency 'karafka-rdkafka', '>= 0.17.6', '< 0.18.0'
19
+ spec.add_dependency 'karafka-rdkafka', '>= 0.17.6', '< 0.19.0'
20
20
 
21
21
  spec.required_ruby_version = '>= 3.1.0'
22
22
 
@@ -4,6 +4,6 @@ module Karafka
4
4
  module Core
5
5
  # Current Karafka::Core version
6
6
  # We follow the versioning schema of given Karafka version
7
- VERSION = '2.4.5'
7
+ VERSION = '2.4.7'
8
8
  end
9
9
  end
data/lib/karafka-core.rb CHANGED
@@ -48,3 +48,8 @@ rd_config = ::Rdkafka::Config
48
48
  rd_config.statistics_callback = instrumentation.statistics_callbacks
49
49
  rd_config.error_callback = instrumentation.error_callbacks
50
50
  rd_config.oauthbearer_token_refresh_callback = instrumentation.oauthbearer_token_refresh_callbacks
51
+
52
+ # This loads librdkafka components into memory prior to initializing the client.
53
+ # This mitigates macos forking issues.
54
+ # @see https://github.com/confluentinc/librdkafka/issues/4590
55
+ ::Rdkafka::Bindings.rd_kafka_global_init if ::Rdkafka::Bindings.respond_to?(:rd_kafka_global_init)
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karafka-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.5
4
+ version: 2.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -35,7 +35,7 @@ cert_chain:
35
35
  i9zWxov0mr44TWegTVeypcWGd/0nxu1+QHVNHJrpqlPBRvwQsUm7fwmRInGpcaB8
36
36
  ap8wNYvryYzrzvzUxIVFBVM5PacgkFqRmolCa8I7tdKQN+R1
37
37
  -----END CERTIFICATE-----
38
- date: 2024-11-19 00:00:00.000000000 Z
38
+ date: 2024-11-26 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: karafka-rdkafka
@@ -46,7 +46,7 @@ dependencies:
46
46
  version: 0.17.6
47
47
  - - "<"
48
48
  - !ruby/object:Gem::Version
49
- version: 0.18.0
49
+ version: 0.19.0
50
50
  type: :runtime
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
@@ -56,7 +56,7 @@ dependencies:
56
56
  version: 0.17.6
57
57
  - - "<"
58
58
  - !ruby/object:Gem::Version
59
- version: 0.18.0
59
+ version: 0.19.0
60
60
  description: A toolset of small support modules used throughout the Karafka ecosystem
61
61
  email:
62
62
  - contact@karafka.io
metadata.gz.sig CHANGED
Binary file