Apache Kafka 4 · Performance and debugging
Inspect a log segment
Print the messages in a log segment file on a broker's disk.
bin/kafka-dump-log.sh --files /tmp/kraft-combined-logs/orders-0/00000000000000000000.log --print-data-log
Official Apache Kafka 4 documentation
More performance and debugging commands
All performance and debugging commands · Apache Kafka 4 cheatsheet