๐Ÿ“ฆ polyzos / flink-blogpost-examples

โ˜… 3 stars โ‘‚ 2 forks ๐Ÿ‘ 3 watching
๐Ÿ“ฅ Clone https://github.com/polyzos/flink-blogpost-examples.git
HTTPS git clone https://github.com/polyzos/flink-blogpost-examples.git
SSH git clone git@github.com:polyzos/flink-blogpost-examples.git
CLI gh repo clone polyzos/flink-blogpost-examples
ipolyzos ipolyzos session inactivity with keyprocessfn 06afbb3 10 months ago ๐Ÿ“ History
๐Ÿ“‚ main View all commits โ†’
๐Ÿ“ src
๐Ÿ“„ .gitignore
๐Ÿ“„ pom.xml
๐Ÿ“„ README.md
๐Ÿ“„ README.md

Flink Blogpost Examples


This repository contains the examples used for my Flink blogposts @ dev.to.

Blog Posts

A Deep Dive Into Apache Flink Timers

โœ… Code examples can be found here.

Understanding Custom Triggers In Apache Flink

โœ… Code examples can be found here.


Deploy a JAR file

You can run the examples directly from your you IDE like IntelliJ IDEA. However, if you want to deploy the jar file to a Flink cluster, you can follow the steps below.

  • Package the application and create an executable jar file
mvn clan package

  • Run the flink job
./bin/flink run \
  --class io.ipolyzos.<your-main-class> \
  ./flink-blogpost-examples-0.1.0.jar