lhyundeadsoul commented on issue #1912:
URL: 
https://github.com/apache/incubator-seatunnel/issues/1912#issuecomment-1154775052

   > I think you can add a new plugin module seatunnel-connector-flink-assert.
   I think so.  That's a better design resolution.
   
   > You mean validate the data in runtime, if validate failed, then throw 
exception? It's OK to me.
   I can add a fail-strategy parameter to control whether print or throw ex,  
how about that?
   `FakeAssertSink {
       fail-strategy: print (or interrupt)
       rules = [
           {
               field_name = 'name'
               field_type = 'string'
               field_value = []
           }
    }`
   


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