public void reset() {
            this.bufferSize = 0;
        }
Trace the given record size {@code recordSize}.

@param recordSize The record size
@return true if the buffer size exceeds the maximum buffer size
inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/hudi/src/main/java/org/apache/inlong/sort/hudi/sink/StreamWriteFunction.java