private Counter getNumIgnoredErrors() {
        if (numIgnoredErrors == null) {
            numIgnoredErrors = new SimpleCounter();
        }
        return numIgnoredErrors;
    }
Serialize the data and handle the failure.

<p>Note: Returns null if the message could not be properly serialized.
inlong-sort/sort-formats/format-row/format-base/src/main/java/org/apache/inlong/sort/formats/base/DefaultSerializationSchema.java