Apache Flink is used for real-time streaming and batch processing. I have told you we should not worry about real-time frameworks. The reason is we have the Flink framework for this.
Flink is an open source stream processing framework for distributed, high-performing, always available, and accurate data streaming applications. You can see more about Flink at https://flink.apache.org/.
Flink will definitely provide a very nice future. You can see in Figure 05:
Flink is quite a new framework. If you want to perform real-time sentiment analysis or make a real recommendation engine, then Flink is very useful. You can refer to the following video where you can understand how the HDFS, Flink, Kappa, and lamda architecture has been used. It's a must-see video...