Vinoth Chandar created KAFKA-9429:
-------------------------------------
Summary: Allow ability to control whether stale reads out of state
stores are desirable
Key: KAFKA-9429
URL: https://issues.apache.org/jira/browse/KAFKA-9429
Project: Kafka
Issue Type: Sub-task
Reporter: Vinoth Chandar
Assignee: Vinoth Chandar
Fix For: 2.5.0
>From John :
I also meant to talk with you about the change to allow querying recovering
stores. I think you might have already talked with Matthias a little about this
in the scope of KIP-216, but it's probably not ok to just change the default
from only allowing query while running, since there are actually people
depending on full-consistency queries for correctness right now.
What we can do is add an overload {{KafkaStreams.store(name,
QueriableStoreType, QueriableStoreOptions)}}, with one option:
{{queryStaleState(true/false)}} (your preference on the name, I just made that
up right now). The default would be false, and KSQL would set it to true. While
false, it would not allow querying recovering stores OR standbys. This
basically allows a single switch to preserve existing behavior.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)