[ 
https://issues.apache.org/jira/browse/KAFKA-13845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17526187#comment-17526187
 ] 

dengziming commented on KAFKA-13845:
------------------------------------

One difference we should note is that metadata snapshot contains header and 
footer 

> Add support for reading KRaft snapshots in kafka-dump-log
> ---------------------------------------------------------
>
>                 Key: KAFKA-13845
>                 URL: https://issues.apache.org/jira/browse/KAFKA-13845
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: David Arthur
>            Priority: Minor
>              Labels: kip-500
>
> Even though the metadata snapshots use the same format as log segments, the 
> kafka-dump-log tool (DumpLogSegments.scala) does not support the file 
> extension or file name pattern.
> For example, a metadata snapshot will be named like:
> {code:java}
> __cluster_metadata-0/00000000000000000004-0000000001.checkpoint{code}
> whereas regular log segments (including the metadata log) are named like:
> {code:java}
> __cluster_metadata-0/00000000000000000000.log {code}
>  
> We need to enhance the tool to support snapshots. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to