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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to