KIP-535 — Allow state stores to serve stale reads during rebalance
Discussion Kafka 2.6 Streams
Adds a `stale.metadata.allowed` configuration for Kafka Streams Interactive Queries that allows standby replicas to serve reads during an active rebalance, returning potentially stale state rather than throwing `InvalidStateStoreException`. During rebalances, all IQ requests fail because active tasks are being migrated, causing complete read unavailability even though standbys hold a recent copy of the state.
Details
| Author | Navinder Pal Singh Brar |
| Status | Discussion |
| Kafka Version | 2.6 |
| JIRA | KAFKA-6144 |
| Wiki | View on Apache Wiki |
| Created | 2019-10-13 |
| Last Modified | 2020-03-31 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.