Matthias J. Sax created KAFKA-13501:
---------------------------------------

             Summary: Avoid state restore via rebalance if standbys are enabled
                 Key: KAFKA-13501
                 URL: https://issues.apache.org/jira/browse/KAFKA-13501
             Project: Kafka
          Issue Type: Improvement
          Components: streams
            Reporter: Matthias J. Sax


There are certain scenario in which Kafka Streams wipes out local state and 
rebuilt it from scratch. This is a thread local cleanup, ie, no rebalance is 
triggered, and we end up with an offline task until state restoration finished.

If standby tasks are enable, it might actually make sense to trigger a 
rebalance instead, to get the task re-assigned to the instance hosting the 
standby so get the task active again quickly.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to