@Override
                            public void deserialize(SourceRecord record, Collector<T> out) throws Exception {
                                deserializer.deserialize(record, new CallbackCollector<>(inputRow -> {
                                    if (sourceMetricData != null) {
                                        sourceMetricData.outputMetricsWithEstimate(record.value());
                                    }
                                    out.collect(inputRow);
                                }));
                            }
Buffer the events from the source and record the errors from the debezium.
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/mysql-cdc/src/main/java/org/apache/inlong/sort/cdc/debezium/DebeziumSourceFunction.java