You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Bill Bejeck (JIRA)" <ji...@apache.org> on 2017/12/14 22:38:00 UTC

[jira] [Created] (KAFKA-6367) Fix StateRestoreListener To Use Correct Ending Offset

Bill Bejeck created KAFKA-6367:
----------------------------------

             Summary: Fix StateRestoreListener To Use Correct Ending Offset
                 Key: KAFKA-6367
                 URL: https://issues.apache.org/jira/browse/KAFKA-6367
             Project: Kafka
          Issue Type: Bug
          Components: streams
    Affects Versions: 1.0.0, 0.11.0.0
            Reporter: Bill Bejeck
             Fix For: 1.0.1


{{StateRestoreListener#restoreBatchCompleted}} takes the {{nextPosition}} long  but the {{nextPosition}} is not correct, it should be the offset of the latest restored offset, but nextPosition is the offset of the first not restored offset.

We can't just automatically use {{nextPosition}} - 1 as this could be a commit marker.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)