[ 
https://issues.apache.org/jira/browse/KAFKA-7687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Gustafson resolved KAFKA-7687.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0

> 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
>            Assignee: huxihx
>            Priority: Major
>              Labels: newbie
>             Fix For: 2.2.0
>
>
> 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