public static void toSnapshotRecord(SourceRecord element) {
        Struct messageStruct = (Struct) element.value();
        Struct sourceStruct = messageStruct.getStruct(FieldName.SOURCE);
        SnapshotRecord.TRUE.toSource(sourceStruct);
    }
Format message timestamp(source.ts_ms) value to 0L for all records read in snapshot phase.
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/mysql-cdc/src/main/java/org/apache/inlong/sort/cdc/mysql/source/utils/RecordUtils.java