karafka-rdkafka 0.15.0.beta3 → 0.15.0.rc1
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 +2 -2
- data/CHANGELOG.md +1 -0
- data/lib/rdkafka/native_kafka.rb +1 -0
- data/lib/rdkafka/version.rb +1 -1
- data/spec/rdkafka/native_kafka_spec.rb +8 -1
- 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: 91ca920dc47a311632eb36adedc660a29d0cb72e6bcb2959451836a2fb99dd73
|
4
|
+
data.tar.gz: d4879f60d701be3c5b24738567d502eb63ca732f546e3fc54bc423892bf1521c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54a2b2d134bb46ecb888b699e5c3efb6240e5b7f7d659d17fed60280e88c3c748066b1d8912c81762e1275f3384318baadf238ae7f068839ed3ba0e3be085b34
|
7
|
+
data.tar.gz: b27d1257a263f5fc54eff2568891c68d012a6a2b4d48168379965dd9e30e4c3c37d71867f925b9324e32c8d1dea438f6b7760109662137d82806f1d08a0f006b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/.github/workflows/ci.yml
CHANGED
@@ -37,9 +37,9 @@ jobs:
|
|
37
37
|
- name: Install package dependencies
|
38
38
|
run: "[ -e $APT_DEPS ] || sudo apt-get install -y --no-install-recommends $APT_DEPS"
|
39
39
|
|
40
|
-
- name: Start Kafka with docker
|
40
|
+
- name: Start Kafka with docker compose
|
41
41
|
run: |
|
42
|
-
docker
|
42
|
+
docker compose up -d || (sleep 5 && docker compose up -d)
|
43
43
|
|
44
44
|
- name: Set up Ruby
|
45
45
|
uses: ruby/setup-ruby@v1
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
## 0.15.0 (Unreleased)
|
4
4
|
- **[Feature]** Oauthbearer token refresh callback (bruce-szalwinski-he)
|
5
5
|
- **[Feature]** Support incremental config describe + alter API (mensfeld)
|
6
|
+
- [Enhancement] name polling Thread as `rdkafka.native_kafka#<name>` (nijikon)
|
6
7
|
- [Enhancement] Replace time poll based wait engine with an event based to improve response times on blocking operations and wait (nijikon + mensfeld)
|
7
8
|
- [Enhancement] Allow for usage of the second regex engine of librdkafka by setting `RDKAFKA_DISABLE_REGEX_EXT` during build (mensfeld)
|
8
9
|
- [Change] Allow for native kafka thread operations deferring and manual start for consumer, producer and admin.
|
data/lib/rdkafka/native_kafka.rb
CHANGED
data/lib/rdkafka/version.rb
CHANGED
@@ -10,8 +10,9 @@ describe Rdkafka::NativeKafka do
|
|
10
10
|
subject(:client) { described_class.new(native, run_polling_thread: true, opaque: opaque) }
|
11
11
|
|
12
12
|
before do
|
13
|
+
allow(Rdkafka::Bindings).to receive(:rd_kafka_name).and_return('producer-1')
|
13
14
|
allow(Thread).to receive(:new).and_return(thread)
|
14
|
-
|
15
|
+
allow(thread).to receive(:name=).with("rdkafka.native_kafka#producer-1")
|
15
16
|
allow(thread).to receive(:[]=).with(:closing, anything)
|
16
17
|
allow(thread).to receive(:join)
|
17
18
|
allow(thread).to receive(:abort_on_exception=).with(anything)
|
@@ -20,6 +21,12 @@ describe Rdkafka::NativeKafka do
|
|
20
21
|
after { client.close }
|
21
22
|
|
22
23
|
context "defaults" do
|
24
|
+
it "sets the thread name" do
|
25
|
+
expect(thread).to receive(:name=).with("rdkafka.native_kafka#producer-1")
|
26
|
+
|
27
|
+
client
|
28
|
+
end
|
29
|
+
|
23
30
|
it "sets the thread to abort on exception" do
|
24
31
|
expect(thread).to receive(:abort_on_exception=).with(true)
|
25
32
|
|
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.15.0.
|
4
|
+
version: 0.15.0.rc1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thijs Cadier
|
@@ -36,7 +36,7 @@ cert_chain:
|
|
36
36
|
AnG1dJU+yL2BK7vaVytLTstJME5mepSZ46qqIJXMuWob/YPDmVaBF39TDSG9e34s
|
37
37
|
msG3BiCqgOgHAnL23+CN3Rt8MsuRfEtoTKpJVcCfoEoNHOkc
|
38
38
|
-----END CERTIFICATE-----
|
39
|
-
date: 2024-
|
39
|
+
date: 2024-04-10 00:00:00.000000000 Z
|
40
40
|
dependencies:
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: ffi
|
metadata.gz.sig
CHANGED
Binary file
|