Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10310 Kafka Raft Snapshot
  3. KAFKA-13845

Add support for reading KRaft snapshots in kafka-dump-log

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      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:

      __cluster_metadata-0/00000000000000000004-0000000001.checkpoint

      whereas regular log segments (including the metadata log) are named like:

      __cluster_metadata-0/00000000000000000000.log 

       

      We need to enhance the tool to support snapshots. 

      Attachments

        Issue Links

          Activity

            People

              dengziming Deng Ziming
              mumrah David Arthur
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: