You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "huxihx (JIRA)" <ji...@apache.org> on 2018/11/30 00:51:00 UTC

[jira] [Assigned] (KAFKA-7687) Print batch level information in DumpLogSegments when deep iterating

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

huxihx reassigned KAFKA-7687:
-----------------------------

    Assignee: huxihx

> 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
>
> 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)