public void flush() {
        kuduWriter.flush(maxRetries);
        cachedNum = 0;
    }
The maximum number of retries when an exception is caught.
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/kudu/src/main/java/org/apache/inlong/sort/kudu/source/KuduConsumerTask.java