You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2021/12/03 00:04:00 UTC

[jira] [Created] (KAFKA-13501) Avoid state restore via rebalance if standbys are enabled

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)