public void setAutoFlush(boolean autoFlush) {
        this.autoFlush = autoFlush;
    }
When the caller needs to isolate resources, please call this method and pass the parameter true.
For example, in scenarios such as flink checkpoint

@param autoFlush
inlong-audit/audit-sdk/src/main/java/org/apache/inlong/audit/AuditReporterImpl.java