title: Can I use the DataSet API and the DataStream API in the same Flink job?
body: <p>I am using Flink streaming to read the data from Kafka and process the data. Before consuming from Kafka when the application starts I need to read a file using a DataSet API and sort the file based on some criteria and create a list from it. Then starts to consume from Kafka in a streaming fashion. I have written a logic to read and sort the data from a file using DataSet API. But when I try to tun the program it is never executing and the Flink immediately starts consuming from Kafka. Is there any way I could process the data set first then streaming in Flink?</p>