rdkafka 0.18.0 → 0.19.0

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: 9c9dad3e9f793616387a5665ecba20271fe431755919995bef1921d595af20c1
4
- data.tar.gz: ffa1c227773b625195f48c0fd3e0cdbf386f0bdad9438a41e472fe16acf4c856
3
+ metadata.gz: 0fd23bfe1b2c4372cd42937cd388c5ff893b4ff448613bff8a74f8fd6c1ecc7f
4
+ data.tar.gz: 8085175e03eed6d02ca929691ec039bf4cb0cba2a470d9021d80b5d7de6774e2
5
5
  SHA512:
6
- metadata.gz: bbc22c2a6d032bbd0485670062f42d3aa7bd4ec60119e76e669ec2f133f68b21e6529d7674e191b05a3b298ac0935b7e34d1166292486475ab5d70d5665fac9d
7
- data.tar.gz: 77f248a1373d8220b142b4d632063f692918263a6535fa0f28238e3dcb1f5e63ed8b8b6a56bbffd1c9c5c99ca79ae6d2eaf59dd223ac58788f6144cbc36e8c6d
6
+ metadata.gz: b2332ee34165297680322124ebe0f4e5ea2dacdeab94a7d0a43a4d199d6c6d000a59d96cf752def7530e0233616ee1286ea432f20f877128170a0298385770d5
7
+ data.tar.gz: 980cf6f95573f3947d0f9b5a916aaea8d397f6ac59065b6a657fc4505f89f1d13155462879154c9192dd5c495bc1f51aefd99af5d944db470f455bf1ded8853f
checksums.yaml.gz.sig CHANGED
Binary file
@@ -26,7 +26,6 @@ jobs:
26
26
  - '3.3'
27
27
  - '3.2'
28
28
  - '3.1'
29
- - '3.0'
30
29
  include:
31
30
  - ruby: '3.3'
32
31
  coverage: 'true'
@@ -50,6 +49,8 @@ jobs:
50
49
  GITHUB_COVERAGE: ${{matrix.coverage}}
51
50
 
52
51
  run: |
52
+ set -e
53
53
  bundle install --path vendor/bundle
54
- cd ext && bundle exec rake && cd ..
54
+ cd ext && bundle exec rake
55
+ cd ..
55
56
  bundle exec rspec
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.4
1
+ 3.3.5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Rdkafka Changelog
2
2
 
3
+ ## 0.19.0 (2024-10-01)
4
+ - **[Breaking]** Drop Ruby 3.0 support
5
+ - [Enhancement] Update `librdkafka` to `2.5.3`
6
+ - [Enhancement] Use default oauth callback if none is passed (bachmanity1)
7
+ - [Fix] Fix incorrectly behaving CI on failures.
8
+ - [Patch] Patch with "Add forward declaration to fix compilation without ssl" fix
9
+
3
10
  ## 0.18.0 (2024-09-02)
4
11
  - [Enhancement] Update `librdkafka` to `2.5.0`
5
12
  - [Enhancement] Do not release GVL on `rd_kafka_name` (ferrous26)
data/README.md CHANGED
@@ -163,6 +163,7 @@ bundle exec rake produce_messages
163
163
 
164
164
  | rdkafka-ruby | librdkafka | patches |
165
165
  |-|-|-|
166
+ | 0.19.0 (2024-10-01) | 2.5.3 (2024-09-02) | yes |
166
167
  | 0.18.0 (2024-09-02) | 2.5.0 (2024-06-10) | yes |
167
168
  | 0.17.0 (2024-08-03) | 2.4.0 (2024-05-07) | no |
168
169
  | 0.16.0 (2024-06-13) | 2.3.0 (2023-10-25) | no |
@@ -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.0/src/rdkafka_sticky_assignor.c 2024-07-08 09:47:43.000000000 +0200
5
- +++ librdkafka_2.5.0/src/rdkafka_sticky_assignor.c 2024-07-30 09:44:38.529759640 +0200
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/docker-compose.yml CHANGED
@@ -3,7 +3,7 @@ version: '2'
3
3
  services:
4
4
  kafka:
5
5
  container_name: kafka
6
- image: confluentinc/cp-kafka:7.7.0
6
+ image: confluentinc/cp-kafka:7.7.1
7
7
 
8
8
  ports:
9
9
  - 9092:9092
@@ -338,7 +338,9 @@ module Rdkafka
338
338
  Rdkafka::Bindings.rd_kafka_conf_set_error_cb(config, Rdkafka::Bindings::ErrorCallback)
339
339
 
340
340
  # Set oauth callback
341
- Rdkafka::Bindings.rd_kafka_conf_set_oauthbearer_token_refresh_cb(config, Rdkafka::Bindings::OAuthbearerTokenRefreshCallback)
341
+ if Rdkafka::Config.oauthbearer_token_refresh_callback
342
+ Rdkafka::Bindings.rd_kafka_conf_set_oauthbearer_token_refresh_cb(config, Rdkafka::Bindings::OAuthbearerTokenRefreshCallback)
343
+ end
342
344
  end
343
345
  end
344
346
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rdkafka
4
- VERSION = "0.18.0"
5
- LIBRDKAFKA_VERSION = "2.5.0"
6
- LIBRDKAFKA_SOURCE_SHA256 = "3dc62de731fd516dfb1032861d9a580d4d0b5b0856beb0f185d06df8e6c26259"
4
+ VERSION = "0.19.0"
5
+ LIBRDKAFKA_VERSION = "2.5.3"
6
+ LIBRDKAFKA_SOURCE_SHA256 = "eaa1213fdddf9c43e28834d9a832d9dd732377d35121e42f875966305f52b8ff"
7
7
  end
data/rdkafka.gemspec CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
15
15
  gem.name = 'rdkafka'
16
16
  gem.require_paths = ['lib']
17
17
  gem.version = Rdkafka::VERSION
18
- gem.required_ruby_version = '>= 3.0'
18
+ gem.required_ruby_version = '>= 3.1'
19
19
  gem.extensions = %w(ext/Rakefile)
20
20
  gem.cert_chain = %w[certs/cert.pem]
21
21
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdkafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.0
4
+ version: 0.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thijs Cadier
@@ -36,7 +36,7 @@ cert_chain:
36
36
  i9zWxov0mr44TWegTVeypcWGd/0nxu1+QHVNHJrpqlPBRvwQsUm7fwmRInGpcaB8
37
37
  ap8wNYvryYzrzvzUxIVFBVM5PacgkFqRmolCa8I7tdKQN+R1
38
38
  -----END CERTIFICATE-----
39
- date: 2024-09-02 00:00:00.000000000 Z
39
+ date: 2024-10-01 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: ffi
@@ -186,7 +186,7 @@ files:
186
186
  - README.md
187
187
  - Rakefile
188
188
  - certs/cert.pem
189
- - dist/librdkafka_2.5.0.tar.gz
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
@@ -280,14 +280,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
280
280
  requirements:
281
281
  - - ">="
282
282
  - !ruby/object:Gem::Version
283
- version: '3.0'
283
+ version: '3.1'
284
284
  required_rubygems_version: !ruby/object:Gem::Requirement
285
285
  requirements:
286
286
  - - ">="
287
287
  - !ruby/object:Gem::Version
288
288
  version: '0'
289
289
  requirements: []
290
- rubygems_version: 3.5.11
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