Caused by: java.lang.IllegalStateException: No operators defined in streaming topology. Cannot execu

 problem causes:

        There is no flow operator in the entire code, because the data type of table sql is used.

Solution:

        When there is no stream, don’t add env.execute() at the end of the code. In fact, it’s okay to report an error, and it can still run

Guess you like

Origin blog.csdn.net/m0_55868614/article/details/129261507