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)