Skip to content

Instantly share code, notes, and snippets.

@marwei
Last active December 6, 2017 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marwei/aefa92c8e355fad1d2b35f224a5cc79d to your computer and use it in GitHub Desktop.
Save marwei/aefa92c8e355fad1d2b35f224a5cc79d to your computer and use it in GitHub Desktop.
How to Inspect Kafka Log to Get Message's Metadata
<PATH_TO_KAFKA>/bin/kafka-run-class kafka.tools.DumpLogSegments --files /tmp/kafka-logs/<TOPIC>00000000000000000000.log --print-data-log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment