public long headRecordTimestamp() {
        return headRecord == null ? UNKNOWN : headRecord.timestamp;
    }
Returns the head record's timestamp

@return timestamp
streams/src/main/java/org/apache/kafka/streams/processor/internals/RecordQueue.java