You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Niket Goel (Jira)" <ji...@apache.org> on 2021/06/25 20:43:00 UTC

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

Niket Goel created KAFKA-12997:
----------------------------------

             Summary: 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


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)