public TimestampType timestampType() {
        return timestampType(magic(), wrapperRecordTimestampType, attributes());
    }
Get the timestamp type of the record.

@return The timestamp type or {@link TimestampType#NO_TIMESTAMP_TYPE} if the magic is 0.
clients/src/main/java/org/apache/kafka/common/record/LegacyRecord.java