David Arthur created KAFKA-13845:
------------------------------------

             Summary: 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: Improvement
            Reporter: David Arthur


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