EMsnap commented on code in PR #6921:
URL: https://github.com/apache/inlong/pull/6921#discussion_r1050460761
##########
inlong-sort/sort-connectors/jdbc/src/main/java/org/apache/inlong/sort/jdbc/internal/JdbcBatchingOutputFormat.java:
##########
@@ -91,13 +93,12 @@
private transient ScheduledFuture<?> scheduledFuture;
private transient volatile Exception flushException;
private transient RuntimeContext runtimeContext;
-
private transient ListState<MetricState> metricStateListState;
private transient MetricState metricState;
private SinkMetricData sinkMetricData;
private Long dataSize = 0L;
private Long rowSize = 0L;
-
+ private final Set<In> batchMap = new HashSet<>();
Review Comment:
batchSet
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]