karafka-core 2.4.5 → 2.4.6

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: daa8953dde80ee2601e6edb4ef0321409886207832ea919a6ff2893c07e40a58
4
+ data.tar.gz: 203c8cfd1b413fb7f57e830b1be096dd90766ad7f6a4cf4e37b84598bfd8ecad
5
5
  SHA512:
6
- metadata.gz: e94263e6d89adfe07705429abd7f217ced8c0367e3b89db62acbbd59d7980eca1c173ec88333622528f597ac7e381494e5bb0e9a238c10085e088d8c439c8a25
7
- data.tar.gz: 76b86f1d5223d9ac8e37f0391dca2ab44d23eaf86da1ba177c8c8a51a7d7691958fc5ee6a5968a7409bd10549c826cb808beddab002b603ef228bfe78a145e84
6
+ metadata.gz: 85415fad1c1125896657a6c1bf54b5618598814416bcbb55e7b214f9631a3588550d4816b7e06dcc43faaee5163cef6099c60ffb8fff0672432991dd1416424a
7
+ data.tar.gz: 9931aeb04a1541fd5c4669556252a51ba5a0991fc3f1ab5a8cecad79249f3373a09b8881fe42beea4ac0b4b2b03c08e61eed8ce48bc1cbaf4c99c710ff8946cf
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Karafka Core Changelog
2
2
 
3
+ ## 2.4.6 (2024-11-26)
4
+ - [Enhancement] Mitigate macos forking issues when librdkafka is not loaded to memory.
5
+ - [Change] Allow `karafka-rdkafka` `0.18.0`.
6
+
3
7
  ## 2.4.5 (2024-11-19)
4
8
  - **[Breaking]** Drop Ruby `3.0` support according to the EOL schedule.
5
9
  - [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.6)
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.6'
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
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.6
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