You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Mickael Maison (Jira)" <ji...@apache.org> on 2024/10/29 13:25:00 UTC

[jira] [Commented] (KAFKA-17891) Kafka 3.8 no longer works on z/OS due to hard dependency on zstd-jni

    [ https://issues.apache.org/jira/browse/KAFKA-17891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17893823#comment-17893823 ] 

Mickael Maison commented on KAFKA-17891:
----------------------------------------

In Kafka 3.8.0, the zstd and lz4 libraries were automatically loaded at startup (in both clients and brokers) to validate the configuration. This has been updated so these libraries are only loaded when their compression codecs are actually used. The fix is included in Kafka 3.8.1 and 3.9.0 (both are about to release).

> Kafka 3.8 no longer works on z/OS due to hard dependency on zstd-jni
> --------------------------------------------------------------------
>
>                 Key: KAFKA-17891
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17891
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 3.8.0
>         Environment: z/OS
>            Reporter: Dave Crighton
>            Priority: Major
>
> Kafka 3.8.0 has introduced a hard dependency on zstd-jni. This library at runtime unpacks a native lib onto the system in a temporary location. Which in itself is an insecure practice. It then attempts to load this library.
>  
> Unfortunately this fails on z/OS because zstd-jni does not include a library for this platform and this therefore means we are unable to update to the Kafka 3.8 java client for IBM Integration Bus on z/OS.
>  
> Since the pre-req is only for optional compression it should be a soft dependency and fail only when the functionality is actually used. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)