@Nullable
    public BinlogOffsetKind getOffsetKind() {
        if (offset.get(OFFSET_KIND_KEY) == null) {
            return null;
        }
        return BinlogOffsetKind.valueOf(offset.get(OFFSET_KIND_KEY));
    }
Create offset specified by a timestamp in second.
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/mysql-cdc/src/main/java/org/apache/inlong/sort/cdc/mysql/source/offset/BinlogOffset.java