Stream
Operations
Deployments, SLOs, and monitoring for Stream
Deployments
- Build from
services/stream/Dockerfile. - The container runs
granianagainstservices.stream.main:app. - Default listen port is
8080and honors thePORTenvironment variable.
Startup behavior
- Loads
STREAM_SENTRY_DSNfrom Secret Manager. - Initializes Spanner client and warms the connection pool.
- Initializes Cloud Tasks scheduler with per-PIMS queue mappings.
Monitoring and alerts
- Sentry is required; startup fails if the DSN is missing.
- Logs are written to stdout with INFO-level defaults.
SLOs and SLIs
- TBD. Define latency and error targets for change stream processing.
Scaling and performance
- Stateless service; scheduling is parallelized.
- Idempotent task naming prevents duplicate downstream work.
Last updated on