Key Concepts
Understand template's structure
Last updated
Understand template's structure
Last updated
This section explains the core concepts and architecture of this template.
The template's code is organized into three main components:
Each component is documented separately here:
Our data platform follows a layered architecture:
For each source, the ingestion layer is structured as follows:
Each source has:
A folder pipelines/ingest/<source>-ingestion/
containing the core ingestion logic packaged in a container
A folder for the management of the landing tables (<source>-schema/
)
This project is located in the pipelines/transform
folder:
More details on how this transformation project is structured here:
The orchestration layer coordinates the execution of the ingestion and transformation layers using workflow automation.
This template is ready to be deployed.
The stack deployment is structured in 3 steps:
Then, the containers for the ingestion and transformation layers are built and pushed to the container registry
Finally, the schema evolution scripts of the Iceberg landing tables are run
If you want to get started quickly and deploy the template from your machine, follow this guide:
The template is composed of many Makefiles providing utilities.
Here are some examples:
make deploy
in the root folder will deploy the template from your machine
make build
in a folder with a Dockerfile will build the container
make local-run
in a serverless function folder will test the function locally
etc
Everywhere you see a Makefile, run make
and the list of possible actions will be listed
Source data is ingested into landing tables: code in pipelines/ingest/<source_name>-*/
Data transformations are applied to create staging tables using SQL engine (): code in pipelines/transform/
Infrastructure as Code files in pipelines/*tf
for deploying this ingestion container (as serverless functions (AWS lambda) or container tasks ())
More info about landing table schema evolution in
The template comes with an example data ingestion pipeline deployed as a serverless function (lambda) using ; more details here:
The transformation layer is a project that transforms the data into Iceberg staging tables using the SQL query engine .
This transformation project runs on container infrastructure ( Fargate).
This template proposes an example orchestration using :
First, the infrastructure modules (base/ and pipelines/) are deployed using for infrastructure management
To get started deploying from CI/CD, head there: