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 2018/06/07 23:32:00 UTC

[jira] [Created] (KAFKA-7021) Source KTable checkpoint is not correct

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

             Summary: Source KTable checkpoint is not correct
                 Key: KAFKA-7021
                 URL: https://issues.apache.org/jira/browse/KAFKA-7021
             Project: Kafka
          Issue Type: Bug
          Components: streams
    Affects Versions: 0.10.0.0
            Reporter: Matthias J. Sax
            Assignee: Guozhang Wang
             Fix For: 0.10.2.2, 2.0.0, 0.11.0.3, 1.0.2, 1.1.1


Kafka Streams treats source KTables,ie, table created via `builder.table()`, differently. Instead of creating a changelog topic, the original source topic is use to avoid unnecessary data redundancy.

However, Kafka Streams does not write a correct local state checkpoint file. This results in unnecessary state restore after a rebalance. Instead of the latest committed offset, the latest restored offset is written into the checkpoint file in `ProcessorStateManager#close()`



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)