How tekhahmad/data-engineering-zoomcamp works
This repository is a hands-on data-engineering course, not a single deployed pipeline. Its learner-facing path spans ingestion, warehousing, batch processing, and streaming, with examples and exercises illustrating each stage. The tree and samples support several concrete workflows: scheduled CSV-to-Postgres ingestion, Kafka ride production and persistence, and Kafka-to-Spark streaming aggregation. Other README syllabus topics are noted only where the tree provides a corresponding source path. Unsampled examples are included as subsystems, but their internal wiring is not inferred.
Main entry points: ingest_data.py Course modules · consumer_postgres.py Postgres consumer · producer_realtime.py Ride producer · streaming_confluent.py Spark streaming workflow
Components 22
Data ingestion
- Local ingestion DAG
cohorts/2022/week_2_data_ingestion/airflow/dags_local/data_ingestion_local.py - Chunked CSV loader
cohorts/2022/week_2_data_ingestion/airflow/dags_local/ingest_script.py - PostgreSQL
- GCS ingestion DAG
cohorts/2022/week_2_data_ingestion/airflow/dags/data_ingestion_gcs_dag.py - DLT ingestion workshop
cohorts/2026/workshops/dlt
Warehousing and batch
- Taxi data loader
03-data-warehouse/load_yellow_taxi_data.py - Web-to-GCS examples
03-data-warehouse/extras - GCS-to-BigQuery DAG
cohorts/2022/week_3_data_warehouse/airflow/dags/gcs_to_bq_dag.py - Spark SQL examples
06-batch/code/06_spark_sql.py - Spark BigQuery
06-batch/code/06_spark_sql_big_query.py
Streaming data
- Ride producer
07-streaming/code/src/producers/producer_realtime.py - Ride model
07-streaming/code/src/models.py - Kafka
- Postgres consumer
07-streaming/code/src/consumers/consumer_postgres.py - Spark streaming workflow
cohorts/2023/week_6_stream_processing/streaming_confluent.py - Confluent CSV producer
cohorts/2023/week_6_stream_processing/producer_confluent.py - Avro producer
07-streaming/extras/extras/python/avro_example/producer.py - Avro ride records
07-streaming/extras/extras/python/avro_example/ride_record.py - JSON ride model
07-streaming/extras/extras/python/json_example/ride.py - Redpanda JSON consumer
07-streaming/extras/extras/python/redpanda_example/consumer.py
Course materials
- Course modules
01-docker-terraform/pipeline/ingest_data.py
Other components
- Learner
Connections 24
- Learner → Course modules: studies
README.md - Course modules → Chunked CSV loader: includes ingestion
README.md - Course modules → Taxi data loader: includes warehousing
README.md - Course modules → Spark SQL examples: includes batch
README.md - Course modules → Ride producer: includes streaming
README.md - Local ingestion DAG → Chunked CSV loader: calls
cohorts/2022/week_2_data_ingestion/airflow/dags_local/data_ingestion_local.py - Chunked CSV loader → PostgreSQL: writes rows
cohorts/2022/week_2_data_ingestion/airflow/dags_local/ingest_script.py - GCS ingestion DAG → Web-to-GCS examples: orchestrates ingestion
- Taxi data loader → PostgreSQL: loads data
- Ride producer → Ride model: creates rides
07-streaming/code/src/producers/producer_realtime.py - Ride producer → Kafka: publishes rides
07-streaming/code/src/producers/producer_realtime.py - Postgres consumer → Ride model: deserializes rides
07-streaming/code/src/consumers/consumer_postgres.py - Postgres consumer → Kafka: consumes rides
07-streaming/code/src/consumers/consumer_postgres.py - Postgres consumer → PostgreSQL: inserts rows
07-streaming/code/src/consumers/consumer_postgres.py - Confluent CSV producer → Kafka: publishes records
cohorts/2023/week_6_stream_processing/producer_confluent.py - Spark streaming workflow → Kafka: reads and writes
cohorts/2023/week_6_stream_processing/streaming_confluent.py - Spark streaming workflow → Spark streaming workflow: aggregates rides
cohorts/2023/week_6_stream_processing/streaming_confluent.py - Avro producer → Avro ride records: serializes records
07-streaming/extras/extras/python/avro_example/producer.py - Avro producer → Kafka: publishes records
07-streaming/extras/extras/python/avro_example/producer.py - Redpanda JSON consumer → JSON ride model: decodes rides
07-streaming/extras/extras/python/redpanda_example/consumer.py - Redpanda JSON consumer → Kafka: consumes records
07-streaming/extras/extras/python/redpanda_example/consumer.py - Course modules → DLT ingestion workshop: includes workshop
README.md - Course modules → Spark BigQuery: includes BigQuery batch
README.md - Course modules → GCS-to-BigQuery DAG: includes warehouse workflow
README.md