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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +4 -4
- data/karafka-core.gemspec +1 -1
- data/lib/karafka/core/version.rb +1 -1
- data/lib/karafka-core.rb +5 -0
- data.tar.gz.sig +0 -0
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca8cee16c1b8042cb0b3366599aeff212260c3164c42345295eb70c74ced6e43
|
4
|
+
data.tar.gz: 7df540c0cc569c96dff46fd30d5c5d40e733663cf948ab8c3617ecfc01e32a54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
karafka-rdkafka (>= 0.17.6, < 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.
|
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.
|
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.
|
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
|
|
data/lib/karafka/core/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
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
|