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
| Author | Guozhang Wang |
| Status | Accepted |
| Kafka Version | 2.1 |
| JIRA | KAFKA-6998 |
| Wiki | View on Apache Wiki |
| Created | 2018-08-14 |
| Last Modified | 2018-08-17 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.