public static TimestampType forName(String name) {
        for (TimestampType t : values())
            if (t.name.equals(name))
                return t;
        throw new NoSuchElementException("Invalid timestamp type " + name);
    }
The timestamp type of the records.
clients/src/main/java/org/apache/kafka/common/record/TimestampType.java