kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikhil Deore (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-6181) Examining log messages with {{--deep-iteration}} should show superset of fields
Date Thu, 16 Nov 2017 04:27:00 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-6181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16254735#comment-16254735
] 

Nikhil Deore commented on KAFKA-6181:
-------------------------------------

Hi, I am new to the kafka,
Can you please assign this issue to me?
Thanks
Nikhil.

> Examining log messages with {{--deep-iteration}} should show superset of fields
> -------------------------------------------------------------------------------
>
>                 Key: KAFKA-6181
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6181
>             Project: Kafka
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.11.0.0
>            Reporter: Yeva Byzek
>            Priority: Minor
>              Labels: newbie
>
> Printing log data on Kafka brokers using {{kafka.tools.DumpLogSegments}}:
> {{--deep-iteration}} should show a superset of fields in each message, as compared to
without this parameter, however some fields are missing.  Impact: users need to execute both
commands to get the full set of fields.
> {noformat}
> kafka-run-class kafka.tools.DumpLogSegments \
> --print-data-log \
> --files 00000000000000000000.log
> Dumping 00000000000000000000.log
> Starting offset: 0
> baseOffset: 0 lastOffset: 35 baseSequence: -1 lastSequence: -1 producerId: -1 producerEpoch:
-1 partitionLeaderEpoch: 0 isTransactional: false position: 0 CreateTime: 1509987569448 isvalid:
true size: 3985 magic: 2 compresscodec: NONE crc: 4227905507
> {noformat}
> {noformat}
> kafka-run-class kafka.tools.DumpLogSegments \
> --print-data-log \
> --files 00000000000000000000.log \
> --deep-iteration
> Dumping 00000000000000000000.log
> Starting offset: 0
> offset: 0 position: 0 CreateTime: 1509987569420 isvalid: true keysize: -1 valuesize:
100
> magic: 2 compresscodec: NONE producerId: -1 sequence: -1 isTransactional: false headerKeys:
[] payload: SSXVNJHPDQDXVCRASTVYBCWVMGNYKRXVZXKGXTSPSJDGYLUEGQFLAQLOCFLJBEPOWFNSOMYARHAOPUFOJHHDXEHXJBHW
> {noformat}
> Notice, for example, that {{partitionLeaderEpoch}} and {{crc}} are missing. Print these
and all missing fields.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message