dailai commented on code in PR #8167:
URL: https://github.com/apache/seatunnel/pull/8167#discussion_r1862842411


##########
seatunnel-engine/seatunnel-engine-server/src/main/java/org/apache/seatunnel/engine/server/task/SinkAggregatedCommitterTask.java:
##########
@@ -118,16 +115,7 @@ public void init() throws Exception {
         this.commitInfoSerializer = 
sink.getSink().getCommitInfoSerializer().get();
         this.aggregatedCommitInfoSerializer =
                 sink.getSink().getAggregatedCommitInfoSerializer().get();
-        if (this.aggregatedCommitter instanceof SupportResourceShare) {
-            resourceManager =
-                    ((SupportResourceShare) this.aggregatedCommitter)
-                            .initMultiTableResourceManager(1, 1);
-        }
         aggregatedCommitter.init();
-        if (resourceManager != null) {
-            ((SupportResourceShare) this.aggregatedCommitter)

Review Comment:
   This can trigger the method 
org.apache.seatunnel.connectors.seatunnel.jdbc.sink.JdbcSinkWriter#setMultiTableResourceManager
 which is in jdbcsink that can create a SimpleJdbcConnectionPoolProviderProxy.



-- 
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: commits-unsubscr...@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to