Skip to content
reason-machines avatar

Realtime Cinema Data Engineering Pipeline

Kafka-to-PostgreSQL medallion pipeline with Airflow orchestration and a Streamlit cinema analytics dashboard.

CCM score
45 of 100
skills.sh installs
2K
GitHub stars
5
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers a streaming ELT flow: Kafka producer and consumer, Bronze raw ingestion, Silver normalization, and Gold analytics views
  • Includes a synthetic cinema ticket-sale producer, a consumer writing to bronze_transactions as JSONB, and an Airflow DAG bronze_to_silver_and_gold_elt.py
  • Stores Silver data as normalized tables for customers, movies, showtimes, and transactions, with upserts on natural keys
  • Designed for learners building production-style streaming pipelines, provisioned locally through Docker Compose

Install

$ npx -y skills add reason-machines/data-skills --skill realtime-cinema-data-engineering-pipeline -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

CinéWorld Real-Time Data Engineering Pipeline Skill

Skill by ara.so — Data Skills collection.

Overview

This project implements an end-to-end real-time data engineering pipeline using Apache Kafka for event streaming, PostgreSQL for data warehousing with Medallion Architecture (Bronze/Silver/Gold layers), Apache Airflow for ELT orchestration, and Streamlit for live visualization. Perfect for learning how to build production-grade streaming data pipelines that process 1M+ events.

Installation

Prerequisites

  • Docker and Docker Compose
  • Python 3.8+
  • Virtual environment (recommended)

Setup Steps

# Clone the repository
git clone https://github.com/BaidaneAyoub/realtime-cinema-data-engineering.git
cd realtime-cinema-data-engineering

# Create and activate virtual environment
python -m venv myenv
source myenv/bin/activate  # On Windows: myenv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

# Start infrastructure (Kafka, PostgreSQL, Airflow)
docker-compose up -d

Important: Wait 2-3 minutes for Airflow to fully initialize before proceeding.

Architecture Components

Details

Repository
github.com/reason-machines/data-skills
Categories
Data Science & Analytics, Databases, Workflow Automation
First seen
Jul 14, 2026

Questions

What does the realtime-cinema-data-engineering-pipeline skill build?

It builds an end-to-end real-time data pipeline that streams cinema ticket events through Kafka into PostgreSQL, using Medallion Architecture with Bronze, Silver and Gold layers. Airflow orchestrates the ELT steps and Streamlit shows live analytics dashboards.

How do I install the realtime-cinema-data-engineering-pipeline skill?

Run npx -y skills add reason-machines/data-skills --skill realtime-cinema-data-engineering-pipeline -y in your project. After that, the agent can help you set up Kafka producers and consumers, Bronze to Silver to Gold transformations and dashboards for this pipeline.

What do I need to run this pipeline?

You need Docker and Docker Compose, Python 3.8 or newer and a virtual environment. The setup starts Kafka, PostgreSQL and Airflow with docker-compose, and Airflow needs two to three minutes to initialize.

Which skills does this one sit alongside in Data Science & Analytics?

It sits in the Data Science & Analytics category next to skills such as azure-kusto and analyze-project. This skill focuses on a streaming pipeline with Kafka, PostgreSQL and Airflow, rather than general analysis.

More from reason-machines/data-skills

All 60

Similar to Realtime Cinema Data Engineering Pipeline

More Data Science & Analytics