@Override
    public void snapshotState(FunctionSnapshotContext functionSnapshotContext) throws Exception {
        try {
            doSnapshotState(functionSnapshotContext);
        } catch (Exception e) {
            if (sourceExactlyMetric != null) {
                sourceExactlyMetric.incNumSnapshotError();
            }
            throw e;
        }
    }
The map to store the start time of each checkpoint.
inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/postgres-cdc/src/main/java/org/apache/inlong/sort/postgre/DebeziumSourceFunction.java