karafka-rdkafka 0.17.3 → 0.17.4
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 +5 -0
- data/README.md +1 -1
- data/certs/cert.pem +26 -0
- data/dist/{librdkafka_2.5.0.tar.gz → librdkafka_2.5.3.tar.gz} +0 -0
- data/karafka-rdkafka.gemspec +1 -1
- data/lib/rdkafka/bindings.rb +1 -1
- data/lib/rdkafka/producer.rb +1 -1
- data/lib/rdkafka/version.rb +3 -3
- data.tar.gz.sig +0 -0
- metadata +25 -25
- metadata.gz.sig +0 -0
- data/certs/cert_chain.pem +0 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec66e856af65d68379f2d4bd8ec61aec8fc84fb29cd1262f0330b0cb4c19e3ef
|
4
|
+
data.tar.gz: be1f4baea61b9847228f5a14db9ebd7c615ab39fc7d5e92a88cf698b0d716903
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95e3685a12a1d382bfeb2e9612ddb2b9a09a75b6ae77836f1e89bf11e990df5e8bf28561a8e1ec6df0cd74d35704a5b12e98d680ad852b86e5f1dfc353e2b0a2
|
7
|
+
data.tar.gz: d03a3c10dba060c7f1992dfc8c64f22eb52acac7806165a15ee32843747cb499f777c2e1ba9a568b9d8e7895945af464c205c61f4ca75d20203a8fef97785a03
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Rdkafka Changelog
|
2
2
|
|
3
|
+
## 0.17.4 (2024-09-02)
|
4
|
+
- [Enhancement] Bump librdkafka to 2.5.3
|
5
|
+
- [Enhancement] Do not release GVL on `rd_kafka_name` (ferrous26)
|
6
|
+
- [Fix] Fix unused variable reference in producer (lucasmvnascimento)
|
7
|
+
|
3
8
|
## 0.17.3 (2024-08-09)
|
4
9
|
- [Fix] Mitigate a case where FFI would not restart the background events callback dispatcher in forks.
|
5
10
|
|
data/README.md
CHANGED
@@ -163,8 +163,8 @@ bundle exec rake produce_messages
|
|
163
163
|
|
164
164
|
| rdkafka-ruby | librdkafka | patches |
|
165
165
|
|-|-|-|
|
166
|
+
| 0.17.4 (2024-09-02) | 2.5.3 (2024-09-02) | yes |
|
166
167
|
| 0.17.0 (2024-08-01) | 2.5.0 (2024-07-10) | yes |
|
167
|
-
| 0.17.0 (2024-07-21) | 2.5.0 (2024-07-10) | no |
|
168
168
|
| 0.16.0 (2024-06-13) | 2.4.0 (2024-05-07) | no |
|
169
169
|
| 0.15.0 (2023-12-03) | 2.3.0 (2023-10-25) | no |
|
170
170
|
| 0.14.0 (2023-11-21) | 2.2.0 (2023-07-12) | no |
|
data/certs/cert.pem
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MRAwDgYDVQQDDAdjb250
|
3
|
+
YWN0MRcwFQYKCZImiZPyLGQBGRYHa2FyYWZrYTESMBAGCgmSJomT8ixkARkWAmlv
|
4
|
+
MB4XDTI0MDgyMzEwMTkyMFoXDTQ5MDgxNzEwMTkyMFowPzEQMA4GA1UEAwwHY29u
|
5
|
+
dGFjdDEXMBUGCgmSJomT8ixkARkWB2thcmFma2ExEjAQBgoJkiaJk/IsZAEZFgJp
|
6
|
+
bzCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBAKjLhLjQqUlNayxkXnO+
|
7
|
+
PsmCDs/KFIzhrsYMfLZRZNaWmzV3ujljMOdDjd4snM2X06C41iVdQPWjpe3j8vVe
|
8
|
+
ZXEWR/twSbOP6Eeg8WVH2wCOo0x5i7yhVn4UBLH4JpfEMCbemVcWQ9ry9OMg4WpH
|
9
|
+
Uu4dRwxFV7h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gJdIBX87SnL3aWuBQmhRd
|
24
|
+
i9zWxov0mr44TWegTVeypcWGd/0nxu1+QHVNHJrpqlPBRvwQsUm7fwmRInGpcaB8
|
25
|
+
ap8wNYvryYzrzvzUxIVFBVM5PacgkFqRmolCa8I7tdKQN+R1
|
26
|
+
-----END CERTIFICATE-----
|
Binary file
|
data/karafka-rdkafka.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
|
|
17
17
|
gem.version = Rdkafka::VERSION
|
18
18
|
gem.required_ruby_version = '>= 3.0'
|
19
19
|
gem.extensions = %w(ext/Rakefile)
|
20
|
-
gem.cert_chain = %w[certs/
|
20
|
+
gem.cert_chain = %w[certs/cert.pem]
|
21
21
|
|
22
22
|
if $PROGRAM_NAME.end_with?('gem')
|
23
23
|
gem.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
|
data/lib/rdkafka/bindings.rb
CHANGED
@@ -47,7 +47,7 @@ module Rdkafka
|
|
47
47
|
|
48
48
|
# Metadata
|
49
49
|
|
50
|
-
attach_function :rd_kafka_name, [:pointer], :string
|
50
|
+
attach_function :rd_kafka_name, [:pointer], :string
|
51
51
|
attach_function :rd_kafka_memberid, [:pointer], :string, blocking: true
|
52
52
|
attach_function :rd_kafka_clusterid, [:pointer], :string, blocking: true
|
53
53
|
attach_function :rd_kafka_metadata, [:pointer, :int, :pointer, :pointer, :int], :int, blocking: true
|
data/lib/rdkafka/producer.rb
CHANGED
@@ -360,7 +360,7 @@ module Rdkafka
|
|
360
360
|
partitioner_name = @topics_configs.dig(topic, topic_config_hash, :partitioner) || @partitioner_name
|
361
361
|
|
362
362
|
# If the topic is not present, set to -1
|
363
|
-
partition = Rdkafka::Bindings.partitioner(partition_key, partition_count,
|
363
|
+
partition = Rdkafka::Bindings.partitioner(partition_key, partition_count, partitioner_name) if partition_count.positive?
|
364
364
|
end
|
365
365
|
|
366
366
|
# If partition is nil, use -1 to let librdafka set the partition randomly or
|
data/lib/rdkafka/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Rdkafka
|
4
|
-
VERSION = "0.17.
|
5
|
-
LIBRDKAFKA_VERSION = "2.5.
|
6
|
-
LIBRDKAFKA_SOURCE_SHA256 = "
|
4
|
+
VERSION = "0.17.4"
|
5
|
+
LIBRDKAFKA_VERSION = "2.5.3"
|
6
|
+
LIBRDKAFKA_SOURCE_SHA256 = "eaa1213fdddf9c43e28834d9a832d9dd732377d35121e42f875966305f52b8ff"
|
7
7
|
end
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: karafka-rdkafka
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thijs Cadier
|
@@ -13,30 +13,30 @@ cert_chain:
|
|
13
13
|
-----BEGIN CERTIFICATE-----
|
14
14
|
MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MRAwDgYDVQQDDAdjb250
|
15
15
|
YWN0MRcwFQYKCZImiZPyLGQBGRYHa2FyYWZrYTESMBAGCgmSJomT8ixkARkWAmlv
|
16
|
-
|
16
|
+
MB4XDTI0MDgyMzEwMTkyMFoXDTQ5MDgxNzEwMTkyMFowPzEQMA4GA1UEAwwHY29u
|
17
17
|
dGFjdDEXMBUGCgmSJomT8ixkARkWB2thcmFma2ExEjAQBgoJkiaJk/IsZAEZFgJp
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
18
|
+
bzCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAY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
|
+
TC+f/Uc0TLaRqUaW/bejxzDWWHoM3SU6aoLPuerglzp9zZVzihXwx3jPLUVKDFpF
|
34
|
+
Rl2lcBDxlpYGueGo0/oNzGJAAy6js8jhtHC9+19PD53vk7wHtFTZ/0ugDQYnwQ+x
|
35
|
+
oml2fAAuVWpTBCgOVFe6XCQpMKopzoxQ1PjKztW2KYxgJdIBX87SnL3aWuBQmhRd
|
36
|
+
i9zWxov0mr44TWegTVeypcWGd/0nxu1+QHVNHJrpqlPBRvwQsUm7fwmRInGpcaB8
|
37
|
+
ap8wNYvryYzrzvzUxIVFBVM5PacgkFqRmolCa8I7tdKQN+R1
|
38
38
|
-----END CERTIFICATE-----
|
39
|
-
date: 2024-
|
39
|
+
date: 2024-09-02 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: ffi
|
@@ -185,8 +185,8 @@ files:
|
|
185
185
|
- MIT-LICENSE
|
186
186
|
- README.md
|
187
187
|
- Rakefile
|
188
|
-
- certs/
|
189
|
-
- dist/librdkafka_2.5.
|
188
|
+
- certs/cert.pem
|
189
|
+
- dist/librdkafka_2.5.3.tar.gz
|
190
190
|
- dist/patches/rdkafka_sticky_assignor.c.patch
|
191
191
|
- docker-compose.yml
|
192
192
|
- ext/README.md
|
metadata.gz.sig
CHANGED
Binary file
|
data/certs/cert_chain.pem
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
-----BEGIN CERTIFICATE-----
|
2
|
-
MIIEcDCCAtigAwIBAgIBATANBgkqhkiG9w0BAQsFADA/MRAwDgYDVQQDDAdjb250
|
3
|
-
YWN0MRcwFQYKCZImiZPyLGQBGRYHa2FyYWZrYTESMBAGCgmSJomT8ixkARkWAmlv
|
4
|
-
MB4XDTIzMDgyMTA3MjU1NFoXDTI0MDgyMDA3MjU1NFowPzEQMA4GA1UEAwwHY29u
|
5
|
-
dGFjdDEXMBUGCgmSJomT8ixkARkWB2thcmFma2ExEjAQBgoJkia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