Hisoka-X commented on code in PR #3468:
URL:
https://github.com/apache/incubator-seatunnel/pull/3468#discussion_r1032020224
##########
seatunnel-connectors-v2/connector-jdbc/src/main/java/org/apache/seatunnel/connectors/seatunnel/jdbc/sink/JdbcSink.java:
##########
@@ -131,7 +131,10 @@ public SeaTunnelDataType<SeaTunnelRow> getConsumedType() {
@Override
public Optional<Serializer<JdbcAggregatedCommitInfo>>
getAggregatedCommitInfoSerializer() {
- return Optional.of(new DefaultSerializer<>());
+ if (jdbcSinkOptions.isExactlyOnce()) {
Review Comment:
Why change this? @ic4y PTAL
--
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]