mjsax commented on code in PR #13523: URL: https://github.com/apache/kafka/pull/13523#discussion_r1160996434
########## streams/src/main/java/org/apache/kafka/streams/processor/internals/StandbyTask.java: ########## @@ -96,7 +96,11 @@ public boolean isActive() { } @Override - public void maybeRecordRestored(final Time time, final long numRecords) { + public void recordRestoration(final Time time, final long numRecords, final boolean initRemaining) { + if (initRemaining) { + throw new IllegalStateException("Stanby task would not record remaining records to restore"); Review Comment: ```suggestion throw new IllegalStateException("Standby task would not record remaining records to restore"); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org