conduktor.io ↗

KIP-453 — Add close() method to RocksDBConfigSetter

Accepted Kafka 2.3 Streams

Adds a close() method to the RocksDBConfigSetter interface, called when the RocksDB instance is shut down, allowing users to release native RocksObjects they created in setConfig(). RocksJava options objects (e.g., BlockBasedTableConfig, BloomFilter) extend AbstractNativeReference and must be explicitly closed to free C++ heap memory; without a close hook, user-created objects leaked native memory.

Details

AuthorA. Sophie Blee-Goldman
StatusAccepted
Kafka Version2.3
JIRAKAFKA-8324
WikiView on Apache Wiki
Created2019-04-13
Last Modified2019-05-17
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.