Kafka Streams: How to use Speedb instead of RocksDB?
By default, Kafka streams uses RocksDB for state store. Speedb is a fully compatible fork of RocksDB that introduces overall performance improvements when used instead. By replacing RocksDB with Speedb you can enjoy the improved performance Speedb offers.
There are 3 options for replacement of RocksDB in Kafka 3.3 and higher:
Rebuild Kafka streams with Speedb
Replace the RocksDB library with Speedb library
Use the prebuilt Kafka+Speedb version
Rebuild Kafka with Speedb
If you are building from source, you need to modify gradle/dependencies.gradle to point to Speedb instead of RocksDB and indicate version 126.96.36.199 instead of 7.1.2: