karafka-rdkafka 0.13.9 → 0.14.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: c954a06b4461885d7648e8081d0426ebb895a82f1a27607f2224fc9e60843574
4
- data.tar.gz: a25bf01b430920c7fd2cf22b0dd23ea1de9dd15d1b45f614025e97a3b725f8f3
3
+ metadata.gz: 17509bb1b774db504ac2d8cdc32bc9609e04fce6bacab46984b33c7788761870
4
+ data.tar.gz: 5cbd67b019b087dd4ec02fb1084e38884a590721326eb708f5f2cb9683e2d237
5
5
  SHA512:
6
- metadata.gz: afe480fedbbe5dc6f055709aaf3601acb17aaaa890f1c6e7423b90263eb8fa893de0e8b9bb571e6abf1c5fc0b8df2a6be2e5de4af1de1b68414204275981246e
7
- data.tar.gz: 7bb81ff6dcbc95b018ede8bd986eda701f1f5f3bb3985684d436a38a2173f8753b01e1642780eb9ad52a65ad02e2b3b7d656c4259758c8571ef2858822384875
6
+ metadata.gz: 8ae24f84852e00c8cb4de751b4b7decd22a4f84414abf8d50a2bc6dc4fcd8691bf2fb8c0bf93ee6294eb240d6f85a6458a8cd7954a4bce18b1141a2df968f84e
7
+ data.tar.gz: be3c651ca0ed0d80149c0a059555506f332998196205fdbceba13d02c85213cb2afd729074be3e906df93daa447b940abce078e3e21e2a9b56da8683c523e370
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Rdkafka Changelog
2
2
 
3
+ ## 0.14.0 (2023-11-17)
4
+ - [Enhancement] Bump librdkafka to 2.3.0
5
+ - [Enhancement] Increase the `#lag` and `#query_watermark_offsets` default timeouts from 100ms to 1000ms. This will compensate for network glitches and remote clusters operations.
6
+
3
7
  ## 0.13.9 (2023-11-07)
4
8
  - [Enhancement] Expose alternative way of managing consumer events via a separate queue.
5
9
  - [Enhancement] Allow for setting `statistics_callback` as nil to reset predefined settings configured by a different gem.
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.5.1
6
+ image: confluentinc/cp-kafka:7.5.2
7
7
 
8
8
  ports:
9
9
  - 9092:9092
@@ -300,7 +300,7 @@ module Rdkafka
300
300
  # @param timeout_ms [Integer] The timeout for querying the broker
301
301
  # @return [Integer] The low and high watermark
302
302
  # @raise [RdkafkaError] When querying the broker fails.
303
- def query_watermark_offsets(topic, partition, timeout_ms=200)
303
+ def query_watermark_offsets(topic, partition, timeout_ms=1000)
304
304
  closed_consumer_check(__method__)
305
305
 
306
306
  low = FFI::MemoryPointer.new(:int64, 1)
@@ -335,7 +335,7 @@ module Rdkafka
335
335
  # @return [Hash<String, Hash<Integer, Integer>>] A hash containing all topics with the lag
336
336
  # per partition
337
337
  # @raise [RdkafkaError] When querying the broker fails.
338
- def lag(topic_partition_list, watermark_timeout_ms=100)
338
+ def lag(topic_partition_list, watermark_timeout_ms=1000)
339
339
  out = {}
340
340
 
341
341
  topic_partition_list.to_h.each do |topic, partitions|
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rdkafka
4
- VERSION = "0.13.9"
5
- LIBRDKAFKA_VERSION = "2.2.0"
6
- LIBRDKAFKA_SOURCE_SHA256 = "af9a820cbecbc64115629471df7c7cecd40403b6c34bfdbb9223152677a47226"
4
+ VERSION = "0.14.0"
5
+ LIBRDKAFKA_VERSION = "2.3.0"
6
+ LIBRDKAFKA_SOURCE_SHA256 = "2d49c35c77eeb3d42fa61c43757fcbb6a206daa560247154e60642bcdcc14d12"
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.13.9
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thijs Cadier
@@ -35,7 +35,7 @@ cert_chain:
35
35
  AnG1dJU+yL2BK7vaVytLTstJME5mepSZ46qqIJXMuWob/YPDmVaBF39TDSG9e34s
36
36
  msG3BiCqgOgHAnL23+CN3Rt8MsuRfEtoTKpJVcCfoEoNHOkc
37
37
  -----END CERTIFICATE-----
38
- date: 2023-11-07 00:00:00.000000000 Z
38
+ date: 2023-11-17 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: ffi
metadata.gz.sig CHANGED
Binary file