For --index-sanity-check, according to dumpIndex(): if (indexSanityOnly) {
index.sanityCheck println(s"$file passed sanity check.") Do you see the print above ? Which release of Kafka are you using ? Cheers On Sat, Feb 10, 2018 at 1:54 PM, adrien ruffie <adriennolar...@hotmail.fr> wrote: > Hi all, > > In Kafka the definitive guide in page 200-201, two parameters of > kafka.tools.DumpLogSegments appear not really work ... > > the --index-sanity-check argument > > the --print-data-log > > exemple: > > ./bin/kafka-run-class.sh kafka.tools.DumpLogSegments --files > logs/kafka-0/customer-topic-0/00000000000000000000.log > --index-sanity-check > > ./bin/kafka-run-class.sh kafka.tools.DumpLogSegments --files > logs/kafka-0/customer-topic-0/00000000000000000000.log --print-data-log > > > > If I use it, I get the same output as: > > ./bin/kafka-run-class.sh kafka.tools.DumpLogSegments --files > logs/kafka-0/customer-topic-0/00000000000000000000.log > > These previous arguments, aren't take account ? > > > best regards, > > > Adrien > >