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 2022/02/24 06:18:00 UTC
[jira] [Commented] (KAFKA-13501) Avoid state restore via rebalance if standbys are enabled
[ https://issues.apache.org/jira/browse/KAFKA-13501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17497196#comment-17497196 ]
Matthias J. Sax commented on KAFKA-13501:
-----------------------------------------
I just discovered https://issues.apache.org/jira/browse/KAFKA-12486 and now I am wondering to what extend both ticket are related? \cc [~ableegoldman]
[~sagarrao] you worked on K12486 – can you remember the details?
> 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
> Assignee: Sagar Rao
> Priority: Major
>
> 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)