conduktor.io ↗

KIP-356 — Add withCachingDisabled() to StoreBuilder

Accepted Kafka 2.1 Streams

KIP-356 adds `StoreBuilder.withCachingDisabled()` as an explicit API to disable the record cache on a Kafka Streams state store. `StoreBuilder` initializes with caching disabled by default but only exposes `withCachingEnabled()`, making it impossible to programmatically toggle caching back off after enabling it, which is required when chaining builder configurations.

Details

AuthorGuozhang Wang
StatusAccepted
Kafka Version2.1
JIRAKAFKA-6998
WikiView on Apache Wiki
Created2018-08-14
Last Modified2018-08-17
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.