public long lastModified() {
        return log.file().lastModified();
    }
The last modified time of this log segment as a unix time stamp
storage/src/main/java/org/apache/kafka/storage/internals/log/LogSegment.java