we are using Spark Structured streaming (stateful operation) with RocksDB as state store management.
stateful operation
RocksDB
How do we control the Compaction happen