karafka-rdkafka 0.20.0.rc3-arm64-darwin → 0.20.1-arm64-darwin
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci_linux_x86_64_gnu.yml +67 -44
- data/.github/workflows/ci_linux_x86_64_musl.yml +194 -0
- data/.github/workflows/ci_macos_arm64.yml +28 -45
- data/.github/workflows/push_linux_x86_64_gnu.yml +6 -1
- data/.github/workflows/push_linux_x86_64_musl.yml +79 -0
- data/.github/workflows/push_macos_arm64.yml +5 -1
- data/.github/workflows/push_ruby.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +13 -1
- data/README.md +1 -1
- data/ext/build_linux_x86_64_gnu.sh +5 -5
- data/ext/build_linux_x86_64_musl.sh +763 -0
- data/ext/librdkafka.dylib +0 -0
- data/karafka-rdkafka.gemspec +1 -1
- data/lib/rdkafka/bindings.rb +6 -4
- data/lib/rdkafka/producer.rb +11 -6
- data/lib/rdkafka/version.rb +1 -1
- data/spec/rdkafka/admin_spec.rb +202 -1
- data/spec/rdkafka/bindings_spec.rb +0 -24
- data/spec/rdkafka/consumer_spec.rb +0 -3
- data/spec/rdkafka/producer_spec.rb +295 -1
- data/spec/spec_helper.rb +20 -6
- metadata +15 -13
- data/spec/rdkafka/producer/partitions_count_spec.rb +0 -359
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,20 @@
|
|
1
1
|
# Rdkafka Changelog
|
2
2
|
|
3
|
-
## 0.20.
|
3
|
+
## 0.20.1 (2025-07-17)
|
4
|
+
- [Enhancement] Drastically increase number of platforms in the integration suite
|
5
|
+
- [Fix] Support Ubuntu `22.04` and older Alpine precompiled versions
|
6
|
+
- [Fix] FFI::DynamicLibrary.load_library': Could not open library
|
7
|
+
|
8
|
+
## 0.20.0 (2025-07-17)
|
4
9
|
- **[Feature]** Add precompiled `x86_64-linux-gnu` setup.
|
10
|
+
- **[Feature]** Add precompiled `x86_64-linux-musl` setup.
|
5
11
|
- **[Feature]** Add precompiled `macos_arm64` setup.
|
12
|
+
- [Enhancement] Run all specs on each of the platforms with and without precompilation.
|
13
|
+
- [Enhancement] Support transactional id in the ACL API.
|
14
|
+
- [Fix] Fix a case where using empty key on the `musl` architecture would cause a segfault.
|
15
|
+
- [Fix] Fix for null pointer reference bypass on empty string being too wide causing segfault.
|
16
|
+
|
17
|
+
**Note**: Precompiled extensions are a new feature in this release. While they significantly improve installation speed and reduce build dependencies, they should be thoroughly tested in your staging environment before deploying to production. If you encounter any issues with precompiled extensions, you can fall back to building from sources. For more information, see the [Native Extensions documentation](https://karafka.io/docs/Development-Native-Extensions/).
|
6
18
|
|
7
19
|
## 0.19.5 (2025-05-30)
|
8
20
|
- [Enhancement] Allow for producing to non-existing topics with `key` and `partition_key` present.
|
data/README.md
CHANGED
@@ -163,7 +163,7 @@ bundle exec rake produce_messages
|
|
163
163
|
|
164
164
|
| rdkafka-ruby | librdkafka | patches |
|
165
165
|
|-|-|-|
|
166
|
-
| 0.20.x (
|
166
|
+
| 0.20.x (2025-07-17) | 2.8.0 (2025-01-07) | yes |
|
167
167
|
| 0.19.x (2025-01-20) | 2.8.0 (2025-01-07) | yes |
|
168
168
|
| 0.18.0 (2024-11-26) | 2.6.1 (2024-11-18) | yes |
|
169
169
|
| 0.17.4 (2024-09-02) | 2.5.3 (2024-09-02) | yes |
|
@@ -285,12 +285,12 @@ file librdkafka.so
|
|
285
285
|
log "Checking dependencies with ldd:"
|
286
286
|
ldd librdkafka.so
|
287
287
|
|
288
|
-
log "Checking for
|
289
|
-
|
290
|
-
if [ -n "$
|
291
|
-
error "Found
|
288
|
+
log "Checking for non-system library dependencies:"
|
289
|
+
NON_SYSTEM_DEPS=$(ldd librdkafka.so | grep -v -E "(linux-vdso|ld-linux|libc\.so|libpthread\.so|libm\.so|libdl\.so)" || true)
|
290
|
+
if [ -n "$NON_SYSTEM_DEPS" ]; then
|
291
|
+
error "Found non-system dependencies: $NON_SYSTEM_DEPS"
|
292
292
|
else
|
293
|
-
log "✅
|
293
|
+
log "✅ Only system dependencies found - library is portable!"
|
294
294
|
fi
|
295
295
|
|
296
296
|
# Copy to output directory
|