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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +4 -0
- data/docker-compose.yml +1 -1
- data/lib/rdkafka/consumer.rb +2 -2
- data/lib/rdkafka/version.rb +3 -3
- data.tar.gz.sig +0 -0
- metadata +2 -2
- 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: 17509bb1b774db504ac2d8cdc32bc9609e04fce6bacab46984b33c7788761870
|
4
|
+
data.tar.gz: 5cbd67b019b087dd4ec02fb1084e38884a590721326eb708f5f2cb9683e2d237
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/lib/rdkafka/consumer.rb
CHANGED
@@ -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=
|
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=
|
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|
|
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.
|
5
|
-
LIBRDKAFKA_VERSION = "2.
|
6
|
-
LIBRDKAFKA_SOURCE_SHA256 = "
|
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.
|
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-
|
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
|