Skip to content

Geawher/Apache-Flink-Data-Streaming-Pipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Flink application project using Scala and SBT.

In our Apache Flink data processing pipeline, we used the window sliding method with a window size of 10 seconds and a slide length of 5 seconds.

You need to make sure you have JVM, Scala and SBT installed.

  1. Change application configuration in file src/main/resources/application.conf
API_KEY = --RealStoncks API key--
OUTPUT_FOLDER = --Directory where flink sinks data--
  1. Change Python script input directory in file plotting/plotting.py
folder_path = "OUTPUT_FOLDER\\output"
  1. Start flink server
sbt run
  1. Run python script. Make sure to wait for flink to generate necessary files.
python plotting/plotting.py

The output of visualisation should look similar to this,

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •