You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jose Armando Garcia Sancio (Jira)" <ji...@apache.org> on 2021/08/03 18:30:00 UTC

[jira] [Resolved] (KAFKA-12997) Expose log record append time to the controller/broker

     [ https://issues.apache.org/jira/browse/KAFKA-12997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jose Armando Garcia Sancio resolved KAFKA-12997.
------------------------------------------------
    Resolution: Fixed

> Expose log record append time to the controller/broker
> ------------------------------------------------------
>
>                 Key: KAFKA-12997
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12997
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Niket Goel
>            Assignee: Jose Armando Garcia Sancio
>            Priority: Minor
>              Labels: kip-500
>
> The snapshot records are generated by each individual quorum participant which also stamps the append time in the records. These appends times are generated from a different clock (except in the case of the quorum leader) as compared to the metadata log records (where timestamps are stamped by the leader).
> To enable having a single clock to compare timestamps, https://issues.apache.org/jira/browse/KAFKA-12952 adds a timestamp field to the snapshot header which should contain the append time of the highest record contained in the snapshot (which will be in leader time).
> This JIRA tracks exposing and wiring the batch timestamp such that it can be provided to the SnapshotWriter at the time of snapshot creation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)