Pub/Sub budget test
Simulate hours-service and cost-service for one estimate_id.
Send buttons → local backend → ingress serverless function (validates shared JSON contract) → publishes to ingest-events
Worker consumes topic, validates again (shared JSON contract), stores each part in Postgres
When both hours and cost exist for the same estimate_id → worker publishes to budget-results
Pub/Sub subscriber on your budget-results subscription → SSE pushes result to the log
estimate_id
New estimate
Status: idle
Hours (hours-service)
Send hours
Cost (cost-service)
Send cost
Log
Clear
Copy all
No requests yet.