EricJoy2048 commented on issue #4021:
URL: 
https://github.com/apache/incubator-seatunnel/issues/4021#issuecomment-1410320333

   > example
   > 
   > Add interface
   > 
   > ```java
   > public interface SupportExctlyOnce {
   > 
   > }
   > ```
   > 
   > Source or Sink implement interface
   > 
   > ```java
   > public class MySource implements SeaTunnelSource, SupportExctlyOnce {
   > }
   > ```
   
   I suggest we add key feature enum 
   
   ```
   public enum SourceKeyFeature {
          Exactly-once,
          xxxx, 
          xxxx
   }
   
   public enum SinkKeyFeature {
          xxx,
          xxx
   }
   ```
   
   And add method `List<SourceKeyFeature> getSupportedKeyFeatures()` to 
`Factory`.


-- 
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