zhangshenghang commented on code in PR #7501:
URL: https://github.com/apache/seatunnel/pull/7501#discussion_r1732832217
##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/task/flow/SinkFlowLifeCycle.java:
##########
@@ -284,18 +287,11 @@ public void restoreState(List<ActionSubtaskState>
actionStateList) throws Except
.collect(Collectors.toList());
}
if (states.isEmpty()) {
- this.writer =
- sinkAction
- .getSink()
- .createWriter(
- new SinkWriterContext(indexID,
metricsContext, eventListener));
+ this.writerContext = new SinkWriterContext(indexID,
metricsContext, eventListener);
Review Comment:
You're right, it was my negligence
--
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]