Streamforge
Event-driven data platform with validation, transformation, serving and observability.
- Status
- Implemented and documented; not yet run in a clean environment; no benchmarks
- Data engineering
- Terraform
- GCP
- Observability
Status: the implementation and its test suite are included, but they have not yet been run in a clean environment, and benchmarks are not yet published. This page describes the design and scope; the repository README is the source of truth for the exact behaviour.
Problem
Data platforms rarely fail because a single transformation is wrong. They fail at the seams: a producer changes a field, a bad record slips through, a backlog builds up unnoticed, or an environment is rebuilt by hand and drifts from the one before it.
Streamforge is a small, end-to-end platform built to make those seams explicit and observable.
Approach
Records flow through a sequence of stages, each with a narrow job:
- Ingest events as they arrive.
- Validate them against an explicit, versioned contract, so bad records are kept as dead letters with a reason code instead of silently flowing on.
- Transform valid records into the shapes consumers need.
- Serve the results through an interface.
- Observe every stage, so throughput, failures and lag are visible.
The infrastructure is described as code with Terraform for Google Cloud, so an environment can be created, reviewed and rebuilt from the repository rather than from memory.
Design principles
- Contracts at the boundaries. Validation sits where data enters, not scattered through the pipeline.
- Failures are data. A rejected record is kept with the reason it was rejected, and a replay command republishes it.
- At-least-once delivery, idempotent writes. Redelivery and replay are safe because storage is keyed by event id.
- Observability is a feature. Each stage reports what it processed and what it dropped.
- Infrastructure is reviewable. Changes to the environment go through version control like code.
This mirrors the work I do at HSBC on Google Cloud with Terraform and CI/CD, applied to a data platform I can share publicly.
Limitations
- No benchmark results are published yet. Throughput, latency and recovery claims will appear only once they have been measured and can be reproduced.
- The Terraform has been reviewed by hand but not applied to a real project.
- It is a learning and demonstration platform, not a production service.
Roadmap
- Integration tests for PostgreSQL and Pub/Sub using containers or emulators.
- Publish reproducible benchmarks with the exact commands used.
- Kafka-compatible broker adapter, connection pooling and concurrent message handling.
- Authentication, rate limiting and pagination for the read API.