I am trying to run the official example which shows how to use Apache Flink Streaming with Twitter: https://github.com/apache/flink/tree/master/flink-streaming-examples/src/main/java/org/apache/flink/streaming/examples/twitter
If I don’t provide the path to properties.file, the TwitterStreamData.java will be used. With “data looking like tweets” is all OK. But if I want to receive the real tweets (providing the correct property file), the execution stops and waits (no exceptions are thrown).
After the code debugging I found the place, where the execution stops and waits:
ClusterUtils.runOnMiniCluster(obGraph jobGraph, int parallelism, long memorySize, boolean printDuringExecution)
The programms runs until the row
SerializedJobExecutionResult result = exec.submitJobAndWait(jobGraph, printDuringExecution);
and waits.
The property file is OK, because I used it in the other example (streaming of tweets without apache flink) and that worked.