sorry for my rookie work :) . I update image as follow. https://user-images.githubusercontent.com/2370761/165883497-f1480703-5251-46d7-a249-53439c077502.png
https://user-images.githubusercontent.com/2370761/165883516-07ca0ee2-08a8-4ed5-9859-690c7a73a198.png On Fri, Apr 29, 2022 at 11:51 AM wenjun <[email protected]> wrote: > Hi Kelu, > > Glad to hear this proposal, the photo cannot display successfully in the > mail, you can upload the photo to issue, and add the photo link. > > Best, > Wenjun Ruan > > On Fri, Apr 29, 2022 at 11:06 AM 陶克路 <[email protected]> wrote: > > > The background https://github.com/apache/incubator-seatunnel/issues/1753 > > > > Let me have a brief introduction about the background. I found the Flink > > SQL support in Seatunnel is very simple, so I want to do some > improvements > > on this story. > > > > And now seatunnel uses many deprecated datastream apis, which are > > encouraged to be replaced with SQL, such as ` > > StreamTableEnvironment.connect`. Maybe SQL would be an alternative. > > [image: image.png] > > [image: image.png] > > > > > > Here are the improvement details: > > 1. refactor start-seatunnel-sql.sh. Now start-seatunnel-flink.sh > > and start-seatunnel-spark.sh have been refactored, and the main logic has > > been rewritten by java code. I think we can first keep them consistent. > > 2. enrich sql config file. Now flink sql job config is very simple, and > > it's all about the sql script. I think we can add more sub-config into > it. > > 3. sql connectors management. Flink community supports a rich set of SQL > > connectors. Only with connectors, we can run our job successfully > end-to-end > > 4. sql related logic. Such as validation before job running, throwing the > > error as soon as possible > > 5. Catalog support. With catalog, we can reuse tables/udfs defined in > > catalog. > > 6. kubernetes native mode support. Actually, this is a universal feature, > > not just about sql. In Flink, to run job in kubernetes native mode, we > must > > bundle the main jar and dependency files into the Flink image. This is > not > > user-friendly. Community support a workaround for this, namely > podTemplate > > 7. ... > > > > This is a long-term plan. We can implement it step by step. > > > > What do you think about this PROPOSAL? Feel free to give any comment or > > suggestion. > > > > Thanks. > > Kelu. > > -- > > > > Hello, Find me here: www.legendtkl.com. > > > -- Hello, Find me here: www.legendtkl.com.
