Big Data

Data Engineer - Big Data

Build end-to-end data pipelines with Apache Spark, Apache Kafka, Apache Flink, Apache Airflow and a Delta Lake lakehouse, all in Docker on Windows, macOS or Linux. 45 verified labs.

Intermediate · 45 hours · 45 lessons · Course language: Spanish and English

A complete, hands-on data engineering course. You set up a professional environment with Docker on Windows (WSL2), macOS (Apple Silicon and Intel) or Linux, and learn the foundations: batch and streaming, ETL and ELT, the CSV, JSON, Parquet and Avro formats, and dimensional modeling. You process data at scale with Apache Spark (PySpark, DataFrames, Spark SQL, performance, a cluster with Docker Compose and Structured Streaming). You build event flows with Apache Kafka: producers, consumers, Schema Registry, Kafka Connect, transactions and operations. You process streams with Apache Flink and Flink SQL: event time, windows, state and checkpoints. You orchestrate everything with Apache Airflow 3: DAGs, assets, retries and Spark Connect. You build a lakehouse with Delta Lake on local S3 storage, with a medallion architecture and data quality checks. You see how each piece maps to AWS, Google Cloud and Azure, and you finish with an end-to-end final project: Kafka, Spark, Delta Lake, Airflow and a dashboard. Every command is explained and every result is real. The first 3 classes are free and include a video.

What you will learn

  • Set up a data environment with Docker on Windows, macOS or Linux
  • Choose between batch and streaming, ETL and ELT, and CSV, JSON, Parquet and Avro
  • Model data with star schemas, dimensions and partitions
  • Process large volumes with PySpark, Spark SQL and Structured Streaming
  • Produce and consume events with Apache Kafka, schemas and Kafka Connect
  • Process streams with state and event time in Apache Flink
  • Orchestrate pipelines with Apache Airflow 3
  • Build a Delta Lake lakehouse on S3 with quality checks

Skills

Data engineering, Docker and Docker Compose, Apache Spark, PySpark, Apache Kafka, Apache Flink, Apache Airflow, Delta Lake, Lakehouse, Parquet and Avro, Data quality, AWS, Google Cloud and Azure

Program

Module 1: Environment and foundations (free classes)

Docker on Windows, macOS and Linux, batch and streaming, file formats and data modeling.

Project: The course environment and a star schema of Andes Market sales.

  1. The Data Engineer and your Docker environment: What a Data Engineer does and how to install Docker on Windows (WSL2), macOS and Linux with the right memory settings.
  2. Docker Compose for data: services, volumes and networks: A PostgreSQL database with Compose: services, ports, volumes, networks, healthchecks and line endings.
  3. Python for data in containers: A tools image with pandas, PyArrow and DuckDB, and the Andes Market dataset generated from a seed.
  4. Batch and streaming, ETL and ELT: The architectures of a data platform, and an ETL and an ELT pipeline on PostgreSQL.
  5. File formats: CSV, JSON, Parquet and Avro: Size, schema, compression and columnar reads of the four formats, measured on the same data.
  6. Data modeling: star schema and partitions: Facts and dimensions, surrogate keys, slowly changing dimensions (SCD type 2) and partitioned Parquet.

Module 2: Apache Spark

PySpark, DataFrames, Spark SQL, joins, performance, a cluster and Structured Streaming.

Project: A Spark job that computes daily sales on a cluster built with Docker Compose.

  1. Spark architecture and your first PySpark job: Driver, executors, partitions, lazy evaluation and the Spark UI with a job in local mode.
  2. DataFrames: read, transform and write: Explicit schemas, select, filter, withColumn, dates and writing Parquet.
  3. Spark SQL and window functions: Temporary views, SQL on DataFrames, rankings, running totals and moving averages.
  4. Joins, aggregations and the shuffle: Join types, broadcast joins, groupBy and how to read a plan with explain.
  5. Data cleaning and UDFs: Nulls, duplicates, corrupt records, native functions versus Python UDFs and pandas UDFs.
  6. Performance: partitions, caching and AQE: repartition and coalesce, partitioned writes, cache and Adaptive Query Execution.
  7. A Spark cluster with Docker Compose: Master and workers, spark-submit, executor resources and the cluster UI.
  8. Structured Streaming: Sources and sinks, micro-batches, windows, watermarks and checkpoints.

Module 3: Apache Kafka

Topics and partitions, producers, consumers, Schema Registry, Connect, transactions and operations.

Project: An order stream in Kafka with Avro schemas, processed by Spark.

  1. Kafka: topics, partitions and brokers: The distributed log, KRaft, topics, partitions, offsets and the command-line tools.
  2. Producers with Python: confluent-kafka, keys and partitions, acks, idempotence and delivery callbacks.
  3. Consumers and consumer groups: Groups, committed offsets, rebalancing, lag and reprocessing from the beginning.
  4. Schemas with Avro and Schema Registry: Data contracts, Avro serialization, compatibility and schema evolution.
  5. Kafka Connect: Source and sink connectors, distributed mode, the REST API and converters.
  6. Processing with transactions: exactly once: Consume, transform and produce with transactions and isolation.level read_committed.
  7. Spark Structured Streaming with Kafka: Read a topic with Spark, parse JSON, aggregate with state and write Parquet.
  8. Operating Kafka: replication, retention and compaction: A 3-broker cluster, in-sync replicas, a broker failure, retention and compacted topics.

Module 4: Apache Flink

Flink SQL, event time, windows, Kafka, state and checkpoints.

Project: Real-time store metrics with Flink SQL on Kafka.

  1. Flink architecture: JobManager, TaskManagers, slots, parallelism and the web UI with a cluster in Docker.
  2. Flink SQL: dynamic tables and continuous queries: The SQL Client, the datagen connector, continuous queries and result modes.
  3. Event time, watermarks and windows: Event time versus processing time, watermarks, and TUMBLE and HOP windows.
  4. Flink and Kafka: The Kafka connector, JSON formats, reading orders and writing metrics to another topic.
  5. State, checkpoints and recovery: Stateful operations, checkpoints, a TaskManager failure and recovery without data loss.
  6. Streaming joins and changelog tables: Interval joins, upsert-kafka and tables that update.

Module 5: Apache Airflow 3

DAGs with TaskFlow, scheduling, assets, Spark Connect and testing.

Project: A daily pipeline orchestrated by Airflow that runs Spark.

  1. Airflow 3 architecture: API server, scheduler, DAG processor and triggerer, with PostgreSQL and Docker Compose.
  2. Your first DAG with TaskFlow: DAGs, tasks, dependencies, XCom and the TaskFlow API.
  3. Scheduling, retries and backfills: Schedules, logical dates, catchup, retries, params and backfills.
  4. Assets and dynamic tasks: Data-aware scheduling with assets and dynamic task mapping.
  5. Orchestrating Spark with Airflow and Spark Connect: A Spark Connect server and Airflow tasks that run Spark without Java.
  6. Testing and DAG best practices: Import tests, dags test, idempotence and configuration outside the code.

Module 6: Lakehouse and data quality

Local S3, Delta Lake, MERGE, medallion architecture, quality and queries.

Project: A bronze, silver and gold lakehouse on S3 with quality checks.

  1. Object storage: S3 on your computer: Buckets and objects with SeaweedFS and boto3, and Spark reading s3a://.
  2. Delta Lake: ACID tables and time travel: The transaction log, versions, time travel and the history of a Delta table.
  3. Delta Lake: MERGE, schema evolution and maintenance: Upserts with MERGE, schema evolution, OPTIMIZE, Z-ORDER and VACUUM.
  4. Medallion architecture: bronze, silver and gold: Lakehouse layers on S3 and a pipeline that feeds them incrementally.
  5. Data quality: rules, constraints and quarantine: Delta CHECK constraints, quality rules and quarantined records.
  6. Querying the lakehouse with DuckDB: DuckDB reading Delta tables on S3 for fast analysis and reports.

Module 7: Cloud and final project

AWS, Google Cloud and Azure, and an end-to-end pipeline with a dashboard.

Project: Kafka, Spark, Delta Lake, Airflow and a real-time sales dashboard.

  1. From your computer to the cloud: AWS, Google Cloud and Azure: Which service replaces each piece in each cloud, and the same job configured for each one.
  2. Final project 1: event ingestion with Kafka: A real-time order generator that publishes to Kafka with keys and a schema.
  3. Final project 2: streaming into the bronze and silver layers: Spark Structured Streaming from Kafka to Delta Lake on S3, with checkpoints.
  4. Final project 3: gold layer and quality orchestrated with Airflow: A DAG that builds the gold layer with Spark Connect and validates its quality.
  5. Final project 4: the dashboard and the complete platform: A sales dashboard with DuckDB, the whole platform running and how to take it to production.

Prerequisites

  • A computer with Windows 10/11, macOS or Linux, 16 GB of RAM (8 GB minimum) and 25 GB of free disk space
  • Docker Desktop (Windows and macOS) or Docker Engine (Linux); you install it step by step in class 1
  • Basic Python and SQL. You do not need a cloud account: everything runs on your computer

Next courses

  • Apache Spark · Intermediate · 20 hours
    Process large volumes of data with PySpark on your own Docker cluster: DataFrames, Spark SQL, performance, streaming with Kafka, Delta Lake, Iceberg, MLlib and Spark in the cloud. 20 real labs.
  • Apache Kafka · Intermediate · 20 hours
    Design and run streaming platforms with Kafka 4 in KRaft mode: a 3-node cluster in Docker, Python producers and consumers, exactly-once, Schema Registry, Kafka Connect with Debezium, ksqlDB, security, monitoring and Kafka in the cloud. 20 verified labs.

See all courses