Jason Gustafson created KAFKA-7687:
--------------------------------------

             Summary: Print batch level information in DumpLogSegments when 
deep iterating
                 Key: KAFKA-7687
                 URL: https://issues.apache.org/jira/browse/KAFKA-7687
             Project: Kafka
          Issue Type: Improvement
          Components: tools
            Reporter: Jason Gustafson


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:

{code}
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 ...
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to