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

[jira] [Created] (KAFKA-20880) Consider to address inconsistency in `StandbyUpdateListener` API

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

             Summary: Consider to address inconsistency in `StandbyUpdateListener` API
                 Key: KAFKA-20880
                 URL: https://issues.apache.org/jira/browse/KAFKA-20880
             Project: Kafka
          Issue Type: Improvement
          Components: streams
            Reporter: Matthias J. Sax


Kafka Streams has two state-restore-listeners: `StateRestoreListener` and `StandbyUpdateListener`.

`StandbyUpdateListener#onBatchLoaded()` is the only method that has a `TaskId` parameter. It's unclear why we have this inconsitency.

Technically, `TaskId` should not be relevant, because the listener is for a store, not a task, it would fire for all stores for a task. And `TopicPartition` and `storeName` are already passed in which is the more relevant information.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)