PyFlink: Stream Processing Workshop

PyFlink: Stream Processing Workshop

This workshop is based on the 2025 stream with Zach Wilson.

In this workshop, we build a real-time streaming pipeline step by step. We start with the basics - a message broker, a producer, and a consumer - then add a database and finally a stream processing framework.

We'll use NYC yellow taxi trip data as our data source.

What we'll build by the end:

Producer (Python) -> Kafka (Redpanda) -> Flink -> PostgreSQL

The workshop grows a live event path from production through broker and stream processing to durable relational storage.

Prerequisites:

  • Docker and Docker Compose
  • uv
  • A SQL client - pgcli (uvx pgcli), DBeaver, pgAdmin, or DataGrip

Code:

The units that follow walk through building everything from scratch - you can follow along step by step or study the existing files and run the commands.

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.