You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "hanksong (via GitHub)" <gi...@apache.org> on 2025/07/25 10:30:31 UTC

Re: [I] [Bug][Mongo-CDC] 无法启用仅增量模式,提交任务后会强制全量同步。(Cannot use increment-only mode, causing data duplicate.) [seatunnel]

hanksong commented on issue #9511:
URL: https://github.com/apache/seatunnel/issues/9511#issuecomment-3117237988

   startup.mode支持两个参数,但是代码里面又add description为五个。。。
   
   [(https://github.com/apache/seatunnel/tree/2.3.11-release/seatunnel-connectors-v2/connector-cdc/connector-cdc-mongodb/src/main/java/org/apache/seatunnel/connectors/seatunnel/cdc/mongodb/config)
   /MongodbSourceOptions.java](https://github.com/apache/seatunnel/blob/2.3.11-release/seatunnel-connectors-v2/connector-cdc/connector-cdc-mongodb/src/main/java/org/apache/seatunnel/connectors/seatunnel/cdc/mongodb/config/MongodbSourceOptions.java)
   ```java
       public static final SingleChoiceOption<StartupMode> STARTUP_MODE =
               Options.key(SourceOptions.STARTUP_MODE_KEY)
                       .singleChoice(
                               StartupMode.class,
                               Arrays.asList(StartupMode.INITIAL, StartupMode.TIMESTAMP))
                       .defaultValue(StartupMode.INITIAL)
                       .withDescription(
                               "Optional startup mode for CDC source, valid enumerations are "
                                       + "\"initial\", \"earliest\", \"latest\", \"timestamp\"\n or \"specific\"");
   ```


-- 
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-unsubscribe@seatunnel.apache.org

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