How prabhat-singh05/de_project_batch_process works
This repository implements a scheduled batch pipeline for the bank transaction CSV: Airflow coordinates upload to S3, download, Kafka publishing, and PostgreSQL loading; dbt then builds a transformed table. The DAG code shows that the PostgreSQL load reads the downloaded CSV directly, not from Kafka, and no Kafka consumer is present in the tree. dbt’s transformation is documented, but its SQL was not sampled, so that relationship is based on the README.
Main entry points: etl_pipeline.py ETL DAG · transform_data_table.sql Transform model · bankdataset.csv Bank CSV
Components 8
Orchestration
- Airflow
- ETL DAG
dags/etl_pipeline.py
Ingestion
- Bank CSV
data/bankdataset.csv - AWS S3
- Kafka topic
Storage & Transform
- PostgreSQL
- Transform model
dbt_transform/models/transform/transform_data_table.sql
Other components
- Pipeline operator
Connections 9
- Pipeline operator → Airflow: triggers DAG
README.md - Airflow → ETL DAG: runs
README.md - ETL DAG → Bank CSV: reads
dags/etl_pipeline.py - ETL DAG → AWS S3: uploads
dags/etl_pipeline.py - ETL DAG → AWS S3: downloads
dags/etl_pipeline.py - ETL DAG → Kafka topic: publishes lines
dags/etl_pipeline.py - ETL DAG → PostgreSQL: loads CSV
dags/etl_pipeline.py - PostgreSQL → Transform model: transforms raw table
README.md - Transform model → PostgreSQL: builds table
README.md