flinksql two example about flink sql in batch and streaming more details you can view: https://www.jianshu.com/p/4f7a941e4ee3 https://www.jianshu.com/p/2fa8f6a5532b