karafka-rdkafka 0.17.3 → 0.17.6
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/.github/workflows/ci.yml +3 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +12 -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/dist/patches/rdkafka_sticky_assignor.c.patch +2 -2
- 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 +26 -26
- 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: 668918efeab4b1007536183f54b4cbd0a966d18fcbabe1c209ff5bd4d8063c9a
|
4
|
+
data.tar.gz: 88971aba75c398f01fd6c956bc79567f4ca2efc3be5a79caefba56f312aab646
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 975b423672a67a0414060f5ea8e5ab485bc5e62a5f6bb5977e2b76af94754b9e200641e7fe30f7d92e54f6db8cbb7f2b0b6c85c6a72f7ae7c86d27645f2341df
|
7
|
+
data.tar.gz: 21ac779bb0f55fa8ffdc264e8d11d64f05e6463aa881a510a44a35357cf6702b275eb3db96ebc4c684773293800550fe3f28d9ce4598d82446fb902272b38d3b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/.github/workflows/ci.yml
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Rdkafka Changelog
|
2
2
|
|
3
|
+
## 0.17.6 (2024-09-03)
|
4
|
+
- [Fix] Fix incorrectly behaving CI on failures.
|
5
|
+
- [Fix] Fix invalid patches librdkafka references.
|
6
|
+
|
7
|
+
## 0.17.5 (2024-09-03)
|
8
|
+
- [Patch] Patch with "Add forward declaration to fix compilation without ssl" fix
|
9
|
+
|
10
|
+
## 0.17.4 (2024-09-02)
|
11
|
+
- [Enhancement] Bump librdkafka to 2.5.3
|
12
|
+
- [Enhancement] Do not release GVL on `rd_kafka_name` (ferrous26)
|
13
|
+
- [Fix] Fix unused variable reference in producer (lucasmvnascimento)
|
14
|
+
|
3
15
|
## 0.17.3 (2024-08-09)
|
4
16
|
- [Fix] Mitigate a case where FFI would not restart the background events callback dispatcher in forks.
|
5
17
|
|
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
|
+
MB4XDTI0MDgyMzEwMTkyMFoXDTQ5MDgxNzEwMTkyMFowPzEQMA4GA1U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mgOJ+61ebI4+bOORzIJLpD6GxCxu1r7MI4+0r1u1xe0EWi8
|
20
|
+
agkVo1k4Vi8cKMLm6Gl9b3wG9zQBw6fcgKwmpjKiNnOLP+OytzUANrIUJjoq6oal
|
21
|
+
TC+f/Uc0TLaRqUaW/bejxzDWWHoM3SU6aoLPuerglzp9zZVzihXwx3jPLUVKDFpF
|
22
|
+
Rl2lcBDxlpYGueGo0/oNzGJAAy6js8jhtHC9+19PD53vk7wHtFTZ/0ugDQYnwQ+x
|
23
|
+
oml2fAAuVWpTBCgOVFe6XCQpMKopzoxQ1PjKztW2KYxgJdIBX87SnL3aWuBQmhRd
|
24
|
+
i9zWxov0mr44TWegTVeypcWGd/0nxu1+QHVNHJrpqlPBRvwQsUm7fwmRInGpcaB8
|
25
|
+
ap8wNYvryYzrzvzUxIVFBVM5PacgkFqRmolCa8I7tdKQN+R1
|
26
|
+
-----END CERTIFICATE-----
|
Binary file
|
@@ -1,8 +1,8 @@
|
|
1
1
|
# This patch is released under the 2-clause BSD license, same as librdkafka
|
2
2
|
# Fixes: https://github.com/confluentinc/librdkafka/issues/4783
|
3
3
|
#
|
4
|
-
--- librdkafka_2.5.
|
5
|
-
+++ librdkafka_2.5.
|
4
|
+
--- librdkafka_2.5.3/src/rdkafka_sticky_assignor.c 2024-07-08 09:47:43.000000000 +0200
|
5
|
+
+++ librdkafka_2.5.3/src/rdkafka_sticky_assignor.c 2024-07-30 09:44:38.529759640 +0200
|
6
6
|
@@ -769,7 +769,7 @@
|
7
7
|
const rd_kafka_topic_partition_list_t *partitions;
|
8
8
|
const char *consumer;
|
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.6"
|
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.6
|
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
|
+
bzCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBAKjLhLjQqUlNayxkXnO+
|
19
|
+
PsmCDs/KFIzhrsYMfLZRZNaWmzV3ujljMOdDjd4snM2X06C41iVdQPWjpe3j8vVe
|
20
|
+
ZXEWR/twSbOP6Eeg8WVH2wCOo0x5i7yhVn4UBLH4JpfEMCbemVcWQ9ry9OMg4WpH
|
21
|
+
Uu4dRwxFV7hzCz3p0QfNLRI4miAxnGWcnlD98IJRjBAksTuR1Llj0vbOrDGsL9ZT
|
22
|
+
JeXP2gdRLd8SqzAFJEWrbeTBCBU7gfSh3oMg5SVDLjaqf7Kz5wC/8bDZydzanOxB
|
23
|
+
T6CDXPsCnllmvTNx2ei2T5rGYJOzJeNTmJLLK6hJWUlAvaQSvCwZRvFJ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date: 2024-09-03 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
|
@@ -287,7 +287,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
287
287
|
- !ruby/object:Gem::Version
|
288
288
|
version: '0'
|
289
289
|
requirements: []
|
290
|
-
rubygems_version: 3.5.
|
290
|
+
rubygems_version: 3.5.16
|
291
291
|
signing_key:
|
292
292
|
specification_version: 4
|
293
293
|
summary: The rdkafka gem is a modern Kafka client library for Ruby based on librdkafka.
|
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
|
-
dGFjdDEXMBUGCgmSJomT8ixkARkWB2thcmFma2ExEjAQBgoJkiaJk/IsZAEZFgJp
|
6
|
-
bzCCAaIwDQYJKoZIhvcNAQEBBQADggGPADCCAYoCggGBAOuZpyQKEwsTG9plLat7
|
7
|
-
8bUaNuNBEnouTsNMr6X+XTgvyrAxTuocdsyP1sNCjdS1B8RiiDH1/Nt9qpvlBWon
|
8
|
-
sdJ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