Senior Data Engineer
Production-grade data engineering skill for building scalable, reliable data systems.
Table of Contents
- Trigger Phrases
- Quick Start
- Workflows
- Architecture Decision Framework
- Tech Stack
- Reference Documentation
- Troubleshooting
Trigger Phrases
Activate this skill when you see:
Pipeline Design:
- "Design a data pipeline for..."
- "Build an ETL/ELT process..."
- "How should I ingest data from..."
- "Set up data extraction from..."
Architecture:
- "Should I use batch or streaming?"
- "Lambda vs Kappa architecture"
- "How to handle late-arriving data"
- "Design a data lakehouse"
Data Modeling:
- "Create a dimensional model..."
- "Star schema vs snowflake"
- "Implement slowly changing dimensions"
- "Design a data vault"
Data Quality:
- "Add data validation to..."
- "Set up data quality checks"
- "Monitor data freshness"
- "Implement data contracts"
Performance:
- "Optimize this Spark job"
- "Query is running slow"
- "Reduce pipeline execution time"
- "Tune Airflow DAG"
Quick Start
Core Tools
# Generate pipeline orchestration config
python scripts/pipeline_orchestrator.py generate \
--type airflow \
--source postgres \
--destination snowflake \
--schedule "0 5 * * *"
# Validate data quality
python scripts/data_quality_validator.py validate \
--input data/sales.parquet \
--schema schemas/sales.json \
--checks freshness,completeness,uniqueness
# Optimize ETL performance
python scripts/etl_performance_optimizer.py analyze \
--query queries/daily_aggregation.sql \
--engine spark \
--recommend
Workflows
→ See references/workflows.md for details
Architecture Decision Framework
Use this framework to choose the right approach for your data pipeline.
Batch vs Streaming
| Criteria |
Batch |
Streaming |
| Latency requirement |
Hours to days |
Seconds to minutes |
| Data volume |
Large historical datasets |
Continuous event streams |
| Processing complexity |
Complex transformations, ML |
Simple aggregations, filtering |
| Cost sensitivity |
More cost-effective |
Higher infrastructure cost |
| Error handling |
Easier to reprocess |
Requires careful design |
Decision Tree:
Is real-time insight required?
├── Yes → Use streaming
│ └── Is exactly-once semantics needed?
│ ├── Yes → Kafka + Flink/Spark Structured Streaming
│ └── No → Kafka + consumer groups
└── No → Use batch
└── Is data volume > 1TB daily?
├── Yes → Spark/Databricks
└── No → dbt + warehouse compute
Lambda vs Kappa Architecture
| Aspect |
Lambda |
Kappa |
| Complexity |
Two codebases (batch + stream) |
Single codebase |
| Maintenance |
Higher (sync batch/stream logic) |
Lower |
| Reprocessing |
Native batch layer |
Replay from source |
| Use case |
ML training + real-time serving |
Pure event-driven |
When to choose Lambda:
- Need to train ML models on historical data
- Complex batch transformations not feasible in streaming
- Existing batch infrastructure
When to choose Kappa:
- Event-sourced architecture
- All processing can be expressed as stream operations
- Starting fresh without legacy systems
Data Warehouse vs Data Lakehouse
| Feature |
Warehouse (Snowflake/BigQuery) |
Lakehouse (Delta/Iceberg) |
| Best for |
BI, SQL analytics |
ML, unstructured data |
| Storage cost |
Higher (proprietary format) |
Lower (open formats) |
| Flexibility |
Schema-on-write |
Schema-on-read |
| Performance |
Excellent for SQL |
Good, improving |
| Ecosystem |
Mature BI tools |
Growing ML tooling |
Tech Stack
| Category |
Technologies |
| Languages |
Python, SQL, Scala |
| Orchestration |
Airflow, Prefect, Dagster |
| Transformation |
dbt, Spark, Flink |
| Streaming |
Kafka, Kinesis, Pub/Sub |
| Storage |
S3, GCS, Delta Lake, Iceberg |
| Warehouses |
Snowflake, BigQuery, Redshift, Databricks |
| Quality |
Great Expectations, dbt tests, Monte Carlo |
| Monitoring |
Prometheus, Grafana, Datadog |
Reference Documentation
1. Data Pipeline Architecture
See references/data_pipeline_architecture.md for:
- Lambda vs Kappa architecture patterns
- Batch processing with Spark and Airflow
- Stream processing with Kafka and Flink
- Exactly-once semantics implementation
- Error handling and dead letter queues
2. Data Modeling Patterns
See references/data_modeling_patterns.md for:
- Dimensional modeling (Star/Snowflake)
- Slowly Changing Dimensions (SCD Types 1-6)
- Data Vault modeling
- dbt best practices
- Partitioning and clustering
3. DataOps Best Practices
See references/dataops_best_practices.md for:
- Data testing frameworks
- Data contracts and schema validation
- CI/CD for data pipelines
- Observability and lineage
- Incident response
Troubleshooting
→ See references/troubleshooting.md for details
1---2name: build-scalable-data-pipelines-etl3description: "Data engineering skill for building scalable data pipelines, ETL/ELT systems, and data infrastructure. Expertise in Python, SQL, Spark, Airflow, dbt, Kafka, and modern data stack. Includes data modeling, pipeline orchestration, data quality, and DataOps. Use when designing data…"4category: "Data & Analytics"5author: community6version: "2.1.1"7icon: chart-bar8metadata:9 source: https://skillmd.com/skills/rondoflow/build-scalable-data-pipelines-etl10---1112# Senior Data Engineer1314Production-grade data engineering skill for building scalable, reliable data systems.1516## Table of Contents17181. [Trigger Phrases](#trigger-phrases)192. [Quick Start](#quick-start)203. [Workflows](#workflows)21 - [Building a Batch ETL Pipeline](#workflow-1-building-a-batch-etl-pipeline)22 - [Implementing Real-Time Streaming](#workflow-2-implementing-real-time-streaming)23 - [Data Quality Framework Setup](#workflow-3-data-quality-framework-setup)244. [Architecture Decision Framework](#architecture-decision-framework)255. [Tech Stack](#tech-stack)266. [Reference Documentation](#reference-documentation)277. [Troubleshooting](#troubleshooting)2829---3031## Trigger Phrases3233Activate this skill when you see:3435**Pipeline Design:**36- "Design a data pipeline for..."37- "Build an ETL/ELT process..."38- "How should I ingest data from..."39- "Set up data extraction from..."4041**Architecture:**42- "Should I use batch or streaming?"43- "Lambda vs Kappa architecture"44- "How to handle late-arriving data"45- "Design a data lakehouse"4647**Data Modeling:**48- "Create a dimensional model..."49- "Star schema vs snowflake"50- "Implement slowly changing dimensions"51- "Design a data vault"5253**Data Quality:**54- "Add data validation to..."55- "Set up data quality checks"56- "Monitor data freshness"57- "Implement data contracts"5859**Performance:**60- "Optimize this Spark job"61- "Query is running slow"62- "Reduce pipeline execution time"63- "Tune Airflow DAG"6465---6667## Quick Start6869### Core Tools7071```bash72# Generate pipeline orchestration config73python scripts/pipeline_orchestrator.py generate \74 --type airflow \75 --source postgres \76 --destination snowflake \77 --schedule "0 5 * * *"7879# Validate data quality80python scripts/data_quality_validator.py validate \81 --input data/sales.parquet \82 --schema schemas/sales.json \83 --checks freshness,completeness,uniqueness8485# Optimize ETL performance86python scripts/etl_performance_optimizer.py analyze \87 --query queries/daily_aggregation.sql \88 --engine spark \89 --recommend90```9192---9394## Workflows95→ See references/workflows.md for details9697## Architecture Decision Framework9899Use this framework to choose the right approach for your data pipeline.100101### Batch vs Streaming102103| Criteria | Batch | Streaming |104|----------|-------|-----------|105| **Latency requirement** | Hours to days | Seconds to minutes |106| **Data volume** | Large historical datasets | Continuous event streams |107| **Processing complexity** | Complex transformations, ML | Simple aggregations, filtering |108| **Cost sensitivity** | More cost-effective | Higher infrastructure cost |109| **Error handling** | Easier to reprocess | Requires careful design |110111**Decision Tree:**112```113Is real-time insight required?114├── Yes → Use streaming115│ └── Is exactly-once semantics needed?116│ ├── Yes → Kafka + Flink/Spark Structured Streaming117│ └── No → Kafka + consumer groups118└── No → Use batch119 └── Is data volume > 1TB daily?120 ├── Yes → Spark/Databricks121 └── No → dbt + warehouse compute122```123124### Lambda vs Kappa Architecture125126| Aspect | Lambda | Kappa |127|--------|--------|-------|128| **Complexity** | Two codebases (batch + stream) | Single codebase |129| **Maintenance** | Higher (sync batch/stream logic) | Lower |130| **Reprocessing** | Native batch layer | Replay from source |131| **Use case** | ML training + real-time serving | Pure event-driven |132133**When to choose Lambda:**134- Need to train ML models on historical data135- Complex batch transformations not feasible in streaming136- Existing batch infrastructure137138**When to choose Kappa:**139- Event-sourced architecture140- All processing can be expressed as stream operations141- Starting fresh without legacy systems142143### Data Warehouse vs Data Lakehouse144145| Feature | Warehouse (Snowflake/BigQuery) | Lakehouse (Delta/Iceberg) |146|---------|-------------------------------|---------------------------|147| **Best for** | BI, SQL analytics | ML, unstructured data |148| **Storage cost** | Higher (proprietary format) | Lower (open formats) |149| **Flexibility** | Schema-on-write | Schema-on-read |150| **Performance** | Excellent for SQL | Good, improving |151| **Ecosystem** | Mature BI tools | Growing ML tooling |152153---154155## Tech Stack156157| Category | Technologies |158|----------|--------------|159| **Languages** | Python, SQL, Scala |160| **Orchestration** | Airflow, Prefect, Dagster |161| **Transformation** | dbt, Spark, Flink |162| **Streaming** | Kafka, Kinesis, Pub/Sub |163| **Storage** | S3, GCS, Delta Lake, Iceberg |164| **Warehouses** | Snowflake, BigQuery, Redshift, Databricks |165| **Quality** | Great Expectations, dbt tests, Monte Carlo |166| **Monitoring** | Prometheus, Grafana, Datadog |167168---169170## Reference Documentation171172### 1. Data Pipeline Architecture173See `references/data_pipeline_architecture.md` for:174- Lambda vs Kappa architecture patterns175- Batch processing with Spark and Airflow176- Stream processing with Kafka and Flink177- Exactly-once semantics implementation178- Error handling and dead letter queues179180### 2. Data Modeling Patterns181See `references/data_modeling_patterns.md` for:182- Dimensional modeling (Star/Snowflake)183- Slowly Changing Dimensions (SCD Types 1-6)184- Data Vault modeling185- dbt best practices186- Partitioning and clustering187188### 3. DataOps Best Practices189See `references/dataops_best_practices.md` for:190- Data testing frameworks191- Data contracts and schema validation192- CI/CD for data pipelines193- Observability and lineage194- Incident response195196---197198## Troubleshooting199→ See references/troubleshooting.md for details