You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Vinoth Chandar (Jira)" <ji...@apache.org> on 2020/01/14 17:57:00 UTC

[jira] [Updated] (KAFKA-9429) Allow ability to control whether stale reads out of state stores are desirable

     [ https://issues.apache.org/jira/browse/KAFKA-9429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinoth Chandar updated KAFKA-9429:
----------------------------------
    Component/s: streams

> 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
>          Components: streams
>            Reporter: Vinoth Chandar
>            Assignee: Vinoth Chandar
>            Priority: Major
>             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)