This repository contains the code we wrote during Rock the JVM's Flink course. Unless explicitly mentioned, the code in this repository is exactly what was caught on camera.
- install IntelliJ IDEA
- install Docker
- either clone the repo or download as zip
- open with IntelliJ as an SBT project
- (optionally) in the
dockerdirectory, navigate to each subdir (except forflink) and rundocker-compose up
Clone this repository and checkout the start tag by running the following in the repo folder:
git checkout start
To see the final code, run:
git checkout master
The repository was built while recording the lectures. Prior to each lecture, I tagged each commit so you can easily go back to an earlier state of the repo!
The tags are as follows:
start1.1-scala-recap2.1-essential-streams2.2-essential-streams-exercise2.3-essential-streams-explicit2.5-window-functions2.6-window-functions-part-22.7-window-functions-exercise2.8-time-based-transformations2.9-triggers2.10-multiple-streams2.11-partitions3.2-rich-functions3.3-keyed-state3.4-keyed-state-23.5-broadcast-state3.6-checkpoint4.1-kafka4.2-jdbc4.3-cassandra4.4-source-functions4.5-custom-sinks4.6-side-outputs
When you watch a lecture, you can git checkout the appropriate tag and the repo will go back to the exact code I had when I started the lecture.
If you have changes to suggest to this repo, either
- submit a GitHub issue
- tell me in the course Q/A forum
- submit a pull request!