Skip to content

Commit 4c7d979

Browse files
committed
dirty record inc
1 parent 2a90b45 commit 4c7d979

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rdb/rdb-sink/src/main/java/com/dtstack/flink/sql/sink/rdb/format/RetractJDBCOutputFormat.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ private void writeSingleRecord(Row row) {
203203
upload.execute();
204204
dbConn.commit();
205205
} catch (SQLException e) {
206+
outDirtyRecords.inc();
206207
if (outDirtyRecords.getCount() % dirtyDataPrintFrequency == 0) {
207208
LOG.error("record insert failed ..", row.toString());
208209
LOG.error("", e);

0 commit comments

Comments
 (0)