Hello, does anyone have experience using SpeedB as a replacement for RocksDB in Kafka Streams?
1 Like
Yes it works with Kafka 3.3 and 3.4, rocksdb can be swapped for SpeeDB.
If you are building from source, you just need to modify gradle/dependencies.gradle to point to speedb instead of rocksdb and indicate version 2.3.0.1 instead of 7.1.2:
- rocksDBJni: "org.rocksdb:rocksdbjni:$versions.rocksDB",
+ rocksDBJni: "io.github.speedb-io:speedbjni:$versions.rocksDB",
- rocksDB: "7.1.2",
+ rocksDB: "2.3.0.1",
If you are using a prebuilt Kafka version, replace the file libs/rocksdbjni-7.1.2.jar with the jar downloaded from maven at the following URL:
https://repo1.maven.org/maven2/io/github/speedb-io/speedbjni/2.3.0.1/speedbjni-2.3.0.1.jar
Please let me know if you encounter any issues.
2 Likes
Thank you for the information! I am building some infrastructure to test the scalability of the Streams State Stores. Once that is done, I will run tests with RocksDB and SpeedB and post the results here.
3 Likes