Extensible end-to-end blueprint that covers ingestion, streaming, ELT, feature serving, reverse ETL, compliance exports, observability, and security hardening.
- Install
docker,docker compose, andmake. - Copy env defaults:
cp env/dev/.env.sample env/dev/.envand adjust secrets if required. - Launch the stack:
make up. - Seed and ingest a demo record:
make seed(writes demo features) thenmake ingest-sample. - Build the analytics layers:
make dbt-build. - Run observability checks (optional):
make ge-run. - Tear down the stack:
make down.
- Ingestion API (FastAPI): http://localhost:8000/docs
- Feature Store HTTP API: http://localhost:8090/docs
- Airflow UI: http://localhost:8080 (airflow / airflow)
- Metabase: http://localhost:3000
- MinIO Console: http://localhost:9001 (minio / minio123)
- Redpanda Kafka (external):
localhost:19092
ingestion/– transaction ingestion API (FastAPI) with Avro validation and Kafka producers.streaming/– Kafka consumer that lands bronze Parquet files in MinIO.transform/– dbt project for bronze ➜ silver ➜ gold modelling and feature derivation.feature_store/– Feast repo plus HTTP feature service and Redis materialisation helpers.serving/– gRPC feature serving example for low-latency scoring.reverse_etl/– Airbyte trigger utilities and CRM connector placeholders.compliance/– CSV export, PGP signing, and SFTP delivery tooling.observability/– Great Expectations, Prometheus, and Grafana configs.security/– tokenisation, KMS helpers, and row-level security samples.
The docs/ folder provides detailed run-books for every subsystem:
- Architecture overview
- Ingestion pipeline
- Streaming & bronze lake
- Transform & analytics
- Feature store & serving
- Reverse ETL
- Compliance exports
- Observability & monitoring
- Security controls
- Operations playbook
- Testing strategy
- FastAPI unit tests:
pytest -q ingestion/api/app/tests - Streaming library tests:
pytest -q streaming/tests - dbt compile + tests:
dbt build --profiles-dir transform/dbt --project-dir transform/dbt/enflab - Great Expectations checkpoint:
make ge-run
See docs/testing.md for additional scenarios and data quality coverage.