[ 
https://issues.apache.org/jira/browse/KAFKA-20880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arnab Nandy reassigned KAFKA-20880:
-----------------------------------

    Assignee: Arnab Nandy

> 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
>            Assignee: Arnab Nandy
>            Priority: Minor
>              Labels: needs-kip
>
> 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)

Reply via email to