We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a90b45 commit 4c7d979Copy full SHA for 4c7d979
rdb/rdb-sink/src/main/java/com/dtstack/flink/sql/sink/rdb/format/RetractJDBCOutputFormat.java
@@ -203,6 +203,7 @@ private void writeSingleRecord(Row row) {
203
upload.execute();
204
dbConn.commit();
205
} catch (SQLException e) {
206
+ outDirtyRecords.inc();
207
if (outDirtyRecords.getCount() % dirtyDataPrintFrequency == 0) {
208
LOG.error("record insert failed ..", row.toString());
209
LOG.error("", e);
0 commit comments