Navinder Brar created KAFKA-6924:
------------------------------------
Summary: Making state store queryable on replicas
Key: KAFKA-6924
URL: https://issues.apache.org/jira/browse/KAFKA-6924
Project: Kafka
Issue Type: New Feature
Components: streams
Reporter: Navinder Brar
State store in Kafka streams are currently only queryable when StreamTask is in
RUNNING state. The idea is to make it queryable even for StandbyTasks to
decrease the downtime if client is not able to fetch data from Active machine.
Suppose the coordinator is not able to connect to machine which had active
partition due to some reason. So, rather than failing that request we could
serve request from replica which could be on some other machine. Although state
on replica might be little behind the active but it could still be beneficial
in some cases to serve request from replica than failing the request.
It's very important improvement as it could simply improve the availability of
microservices developed using kafka streams.
I am working on a patch for this change. Any feedback or comments are welcome.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)