Apache Flink Basics Cheat Sheet

Jobs, windows, and state

Last Updated: November 21, 2025

Focus Areas

Focus
Pick the right state backend (memory vs RocksDB)
Use watermarks for accurate event-time windows

Commands & Queries

flink run -c com.example.Job job.jar
Deploy job
./bin/flink list
List running jobs
./bin/flink cancel jobid
Stop job

Summary

Flink jobs need checkpoints, watermarks, and tuning.

💡 Pro Tip: Checkpoint frequently to minimize downstream recomputation.
← Back to Data Science & ML | Browse all categories | View all cheat sheets