Nikita Shupletsov created KAFKA-19744:
-----------------------------------------

             Summary: restore metrics s calculated incorrectly
                 Key: KAFKA-19744
                 URL: https://issues.apache.org/jira/browse/KAFKA-19744
             Project: Kafka
          Issue Type: Bug
          Components: streams
    Affects Versions: 4.1.0
            Reporter: Nikita Shupletsov
            Assignee: Nikita Shupletsov


Restore metrics are calculated by measuring the time of the init method: 
[https://github.com/apache/kafka/blob/trunk/streams/src/main/java/org/apache/kafka/streams/state/internals/MeteredKeyValueStore.java#L135]

But the restoration process has been moved to the poll loop: 
[https://github.com/apache/kafka/commit/b78d7ba5d58fa77b831244444eef005a62883f9b]

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to