From b6c399f27a57b0d41aa7fed542953ff0cf1755f6 Mon Sep 17 00:00:00 2001 From: Huilin Shi Date: Tue, 7 Jun 2022 16:34:12 -0700 Subject: [PATCH] Upgrade RocksDB from 6.27.3 to 6.29.4.1 (#11967) RocksDB 6.27.3 does not run on arm64 M1 Macs which would prevent people on this platform to run Kafka Streams. Thus, this PR upgrades RocksDB to 6.29.4.1 which contains the following fix to allow to run RocksDB on arm64 M1 Macs: facebook/rocksdb#7720 The source compatibility report between 6.27.3 and 6.29.4.1 (attached to the ticket) reports a couple of incompatibilities. However, the incompatibilities do not seem to affect Kafka Streams' backwards compatibility. The changes to class RocksDB only apply when inheriting from RocksDB. RocksDB is not exposed to users in Streams. The changes to class WriteBatch and class WriteBatchInterface also only apply with inheritance. Both classes are not exposed to users in Streams. -The change to enum SanityLevel seem also not to apply to Streams since SanityLevel is only used in ConfigOptions which is only used to load options from files and properties objects. Loading options from files or properties is not exposed to users in Streams. Reviewers: Bill Bejeck , Matthias J. Sax , A. Sophie Blee-Goldman --- gradle/dependencies.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/dependencies.gradle b/gradle/dependencies.gradle index c7a89aad6ef9..3ca50118cf5e 100644 --- a/gradle/dependencies.gradle +++ b/gradle/dependencies.gradle @@ -107,7 +107,7 @@ versions += [ netty: "4.1.77.Final", powermock: "2.0.9", reflections: "0.9.12", - rocksDB: "6.19.3", + rocksDB: "6.29.4.1", scalaCollectionCompat: "2.4.4", scalafmt: "1.5.1", scalaJava8Compat : "1.0.0",