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/15 18:44:00 UTC

[jira] [Updated] (KAFKA-12952) Metadata Snapshot File Delimiters

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

Niket Goel updated KAFKA-12952:
-------------------------------
    Summary: Metadata Snapshot File Delimiters  (was: Metadata Snapshot File Header)

> Metadata Snapshot File Delimiters
> ---------------------------------
>
>                 Key: KAFKA-12952
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12952
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: controller, kraft
>            Reporter: Niket Goel
>            Priority: Minor
>
> Create a new Control Record that will serve as the header for a Metadata Snapshot File. This header will be contained at the beginning of each Snapshot File.
> Add the following fields to the header record:
>  # *Version :* Schema version for the snapshot header
>  # *End Offset* : End offset of the snapshot from the snapshot ID
>  # *Epoch :* Epoch of the snapshot ** from the Snapshot ID
>  # *Snapshot Size* : Size in bytes of the Snapshot File.
>  # *Creator ID* : (Optional) ID of the broker/Controller that created the snapshot
>  # *Cluster ID :* (Optional) ID of the cluster that created the snapshot
>  # *Create Time :* Timestamp of the snapshot creation (might not be needed as each record batch has a timestamp already.
>  # *HasFooter :* Boolean indicating if a control record/batch will be included at the end of the file
>  



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