Class RocksDBChunkAssembler

java.lang.Object
com.linkedin.davinci.utils.ChunkAssembler
com.linkedin.davinci.utils.RocksDBChunkAssembler

public class RocksDBChunkAssembler extends ChunkAssembler
Similar to InMemoryChunkAssembler except is uses a RocksDBStorageEngine as the buffer to buffer chunks before the full record can be assembled. The evict policy is also different. Only keys belonging to the assembled record's manifest are removed. This could result in larger buffer size, but it's necessary for consuming topics that could have multiple ongoing chunks such as the materialized view topics. TTL or eviction by source partition (VT partition) could be adopted as an improvement to clean up any leaked chunks due to producer failures.
  • Constructor Details

    • RocksDBChunkAssembler

      public RocksDBChunkAssembler(AbstractStorageEngine bufferStorageEngine, boolean skipFailedToAssembleRecords)