Hi Zongwen, Thanks for your reminder. In this change, I think it's a good chance to enable OptionRule api in connectors v2, I will write clear examples to guide developers in using the new api verify config file.
Best wishes! Chao Tian Zongwen Li <[email protected]> 于2022年12月27日周二 21:18写道: > > I think the use of Factory#optionRule can be recommended. > > JUN GAO <[email protected]> 于2022年12月27日周二 21:11写道: > > > > +1 > > > > hailin0 <[email protected]> 于2022年12月27日周二 20:35写道: > > > > > +1,That's great > > > > > > Leonard(Lifeng Nie) <[email protected]> 于2022年12月26日周一 17:49写道: > > > > > > > +1,That's great > > > > > > > > Jia Fan <[email protected]> 于2022年12月26日周一 10:46写道: > > > > > > > > > +1, we need some method to make sure config are right before run it. > > > > > ________________________ > > > > > > > > > > Jia Fan > > > > > > > > > > > > > > > > > > > > > 2022年12月24日 23:54,Lucifer Tyrant <[email protected]> 写道: > > > > > > > > > > > > Hi community, > > > > > > > > > > > > As we know, we had done the work of upgrading connector v2, but some > > > > > > features also did't be developed. This mail I want to discuss with > > > your > > > > > > guys about config check logic implementation. > > > > > > > > > > > > In order to do this feature, we should add a new method *checkConfig > > > > > > *in *SeaTunnelPluginLifeCycle, > > > > > > *and invoke it in starter module. > > > > > > > > > > > > For more details, you can see this pull request: > > > > > > > > > > > > https://github.com/apache/incubator-seatunnel/pull/3800 > > > > > > > > > > > > If you have any other good ideas, please let me know and reply this > > > > > email. > > > > > > > > > > > > Best wishes > > > > > > Chao Tian > > > > > > > > > > > > > > > > > > -- > > > > Warm Regards, > > > > > > > > Leonard(LiFeng Nie) > > > > > > > > > > > > > -- > > > > Best Regards > > > > ------------ > > > > EricJoy2048 > > [email protected] > > > > -- > Best Regards, > > Zongwen Li
