Kafka messages are deleted with the retention settings and the data of the last 1 week is kept. But the size of the directory where the kafka data is stored is 200gb. My last week's data is not 200gb. Old data not deleted? If it is not deleted, how can I access that data? I tried settings like --from-beginning, --offset "earliest" but I couldn't pull the data.
I ran this command :
kafka-run-class.sh kafka.tools.DumpLogSegments --deep-iteration --print-data-log --files /var/lib/kafka/data/xray.xray -0/00000000000001151540.logAnd this timestamp returned : 1641543351488 .It is correspond to 7 jan