[
https://issues.apache.org/jira/browse/KAFKA-12952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Niket Goel updated KAFKA-12952:
-------------------------------
Description:
Create new Control Records that will serve as the header and footer for a
Metadata Snapshot File. These records will be contained at the beginning and
end of each Snapshot File, and can be checked to verify completeness of a
snapshot file.
The following fields are proposed for the Header:
# *Version :* Schema version for the snapshot header
# *Last Contained Log Time* : The append time of the highest record contained
in this snapshot
# *End Offset* : End offset of the snapshot from the snapshot ID
# *Epoch :* Epoch of the snapshot ** from the Snapshot ID**
# *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.
The following fields are proposed for the footer:
# *Version* : Schema version of the snapshot footer (same as header)
# *Record Type* : A type fields indicating this is the end record for the
snapshot file.
was:
Create new Control Records that will serve as the header and footer for a
Metadata Snapshot File. These records will be contained at the beginning and
end of each Snapshot File, and can be checked to verify completeness of a
snapshot file.
The following fields are proposed for the Header:
# *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**
# *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.
The following fields are proposed for the footer:
# *Version* : Schema version of the snapshot footer (same as header)
# *Record Type* : A type fields indicating this is the end record for the
snapshot file.
> 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
> Labels: kip-500
>
> Create new Control Records that will serve as the header and footer for a
> Metadata Snapshot File. These records will be contained at the beginning and
> end of each Snapshot File, and can be checked to verify completeness of a
> snapshot file.
> The following fields are proposed for the Header:
> # *Version :* Schema version for the snapshot header
> # *Last Contained Log Time* : The append time of the highest record
> contained in this snapshot
> # *End Offset* : End offset of the snapshot from the snapshot ID
> # *Epoch :* Epoch of the snapshot ** from the Snapshot ID**
> # *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.
> The following fields are proposed for the footer:
> # *Version* : Schema version of the snapshot footer (same as header)
> # *Record Type* : A type fields indicating this is the end record for the
> snapshot file.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)