This is an automated email from the ASF dual-hosted git repository.

jlprat pushed a commit to branch 3.7
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/3.7 by this push:
     new df96e411fb1 KAFKA-17227: Update zstd-jni lib (#16763)
df96e411fb1 is described below

commit df96e411fb1ef5010f633ca92c3ff4d53258b6e0
Author: Josep Prat <[email protected]>
AuthorDate: Mon Aug 5 09:51:46 2024 +0200

    KAFKA-17227: Update zstd-jni lib (#16763)
    
    * KAFKA-17227: Update zstd-jni lib
    * Add note in upgrade docs
    * Change zstd-jni version in docker native file and add warning in 
dependencies.gradle file
    * Add reference to snappy in upgrade
    
    Reviewers:  Chia-Ping Tsai <[email protected]>,  Mickael Maison 
<[email protected]>
---
 LICENSE-binary             |  2 +-
 docs/upgrade.html          | 12 +++++++++++-
 gradle/dependencies.gradle |  2 +-
 3 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/LICENSE-binary b/LICENSE-binary
index b4621cc8192..13ec4fa91aa 100644
--- a/LICENSE-binary
+++ b/LICENSE-binary
@@ -327,7 +327,7 @@ pcollections-4.0.1, see: licenses/pcollections-MIT
 ---------------------------------------
 BSD 2-Clause
 
-zstd-jni-1.5.5-6 see: licenses/zstd-jni-BSD-2-clause
+zstd-jni-1.5.6-4 see: licenses/zstd-jni-BSD-2-clause
 
 ---------------------------------------
 BSD 3-Clause
diff --git a/docs/upgrade.html b/docs/upgrade.html
index f4ae931432d..fe50e14031f 100644
--- a/docs/upgrade.html
+++ b/docs/upgrade.html
@@ -19,8 +19,18 @@
 
 <script id="upgrade-template" type="text/x-handlebars-template">
 
-<h4><a id="upgrade_3_7_0" href="#upgrade_3_7_0">Upgrading to 3.7.0 from any 
version 0.8.x through 3.6.x</a></h4>
+<h4><a id="upgrade_3_7_2" href="#upgrade_3_7_2">Upgrading to 3.7.2 from any 
version 0.8.x through 3.6.x</a></h4>
+
+    <h5><a id="upgrade_372_notable" href="#upgrade_372_notable">Notable 
changes in 3.7.2</a></h5>
+    <ul>
+        <li>In case you run your Kafka clusters with no execution permission 
for the <code>/tmp</code> partition, Kafka will not work properly. It might 
either refuse to start or fail
+            when producing and consuming messages. This is due to the 
compression libraries <code>zstd-jni</code> and <code>snappy</code>.
+            To remediate this problem you need to pass the following JVM flags 
to Kafka <code>ZstdTempFolder</code> and <code>org.xerial.snappy.tempdir</code> 
pointing to a directory with execution permissions.
+            For example, this could be done via the <code>KAFKA_OPTS</code> 
environment variable like follows: <code>export 
KAFKA_OPTS="-DZstdTempFolder=/opt/kafka/tmp 
-Dorg.xerial.snappy.tempdir=/opt/kafka/tmp"</code>.
+        </li>
+    </ul>
 
+<h4><a id="upgrade_3_7_0" href="#upgrade_3_7_0">Upgrading to 3.7.0 from any 
version 0.8.x through 3.6.x</a></h4>
 
     <h5><a id="upgrade_370_zk" href="#upgrade_370_zk">Upgrading 
ZooKeeper-based clusters</a></h5>
     <p><b>If you are upgrading from a version prior to 2.1.x, please see the 
note in step 5 below about the change to the schema used to store consumer 
offsets.
diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle
index f87cbd4f24e..61469ee0c5a 100644
--- a/gradle/dependencies.gradle
+++ b/gradle/dependencies.gradle
@@ -164,7 +164,7 @@ versions += [
   spotbugs: "4.8.0",
   zinc: "1.9.2",
   zookeeper: "3.8.4",
-  zstd: "1.5.6-3"
+  zstd: "1.5.6-4"
 ]
 
 libs += [

Reply via email to