Apache Flink Playgrounds

Clone this repo:
  1. 05680d1 [FLINK-20598] [training] Update playgrounds for Flink 1.12 (#21) by Victor Xu · 5 weeks ago master release-1.12
  2. 74e4c98 Added a guide for Windows users. (#12) by t-eimizu · 3 months ago
  3. a0c07e9 [FLINK-19145][walkthroughs] Add PyFlink-walkthrough to Flink playground by David Anderson · 5 months ago
  4. 8b1cadb [hotfix] Update datetime formatter to actually produce and store per-hour data by Seth Wiesman · 5 months ago
  5. 811760b [hotfix] Add an option to allow operator chaining by Alexander Fedulov · 5 months ago

Apache Flink Playgrounds

This repository provides playgrounds to quickly and easily explore Apache Flink's features.

The playgrounds are based on docker-compose environments. Each subfolder of this repository contains the docker-compose setup of a playground, except for the ./docker folder which contains code and configuration to build custom Docker images for the playgrounds.

Available Playgrounds

Currently, the following playgrounds are available:

  • The Flink Operations Playground (in the operations-playground folder) lets you explore and play with Flink's features to manage and operate stream processing jobs. You can witness how Flink recovers a job from a failure, upgrade and rescale a job, and query job metrics. The playground consists of a Flink cluster, a Kafka cluster and an example Flink job. The playground is presented in detail in “Flink Operations Playground”, which is part of the Try Flink section of the Flink documentation.

  • The Table Walkthrough (in the table-walkthrough folder) shows to use the Table API to build an analytics pipeline that reads streaming data from Kafka and writes results to MySQL, along with a real-time dashboard in Grafana. The walkthrough is presented in detail in “Real Time Reporting with the Table API”, which is part of the Try Flink section of the Flink documentation.

  • The PyFlink Walkthrough (in the pyflink-walkthrough folder) provides a complete example that uses the Python API, and guides you through the steps needed to run and manage Pyflink Jobs. The pipeline used in this walkthrough reads data from Kafka, performs aggregations, and writes results to Elasticsearch that are visualized with Kibana. This walkthrough is presented in detail in the pyflink-walkthrough README.


Apache Flink is an open source project of The Apache Software Foundation (ASF).

Flink is distributed data processing framework with powerful stream and batch processing capabilities. Learn more about Flink at http://flink.apache.org/