Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-7687

Print batch level information in DumpLogSegments when deep iterating

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Component/s: tools
    • Labels:

      Description

      It is often helpful to have the batch level information when deep iterating a segment. Currently you have to run DumpLogSegments with and without deep iteration and then correlate the results. It would be simpler to print both. We could even nest the individual messages to make the batch boundaries clear. For example:

      baseOffset: 0 lastOffset: 1 magic: 2 position: 0 ...
      - offset: 0 keysize: 5 ...
      - offset: 1 keysize: 5 ...
      baseOffset: 2 lastOffset: 4 magic: 2 position: 500 ...
      - offset: 2 keysize: 5 ...
      - offset: 3 keysize: 5 ...
      - offset: 4 keysize: 5 ...
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                huxi_2b huxihx
                Reporter:
                hachikuji Jason Gustafson
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: