@Override
    public void invoke(RowData row, Context context) throws Exception {
        addBatch(row);
        sendMetrics(row.toString().getBytes());
    }
The exception thrown in asynchronous tasks.
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/kudu/src/main/java/org/apache/inlong/sort/kudu/sink/AbstractKuduSinkFunction.java