Stream
Runbooks
Operational playbooks for Stream
Missing tasks after change stream event
Symptoms
- Pipelines updates do not trigger downstream Handler jobs.
Checks
- Verify Dataflow is publishing change stream events to Pub/Sub.
- Confirm Pub/Sub push subscription is delivering to
/api/v1/pipeline/stream. - Inspect Stream logs for validation errors or scheduling failures.
- Check Cloud Tasks queues for scheduled tasks.
Spanner lookup failures
Symptoms
- Stream returns
5xxor logs mention Spanner errors.
Checks
- Validate
SPANNER_INSTANCE_IDandSPANNER_DATABASE_ID. - Confirm service account has Spanner access.
- Ensure the
Pipelinestable and related views exist.
Cloud Tasks errors
Symptoms
- Task creation fails or tasks are repeatedly retried.
Checks
- Validate
CLOUD_TASKS_*settings and per-PIMS queue ids. - Confirm queues exist and IAM permissions are correct.
- Verify
HANDLER_SERVICE_BASE_URLis reachable.
Duplicate tasks
Symptoms
- Logs show ALREADY_EXISTS warnings.
Checks
- This is expected under retries; idempotency is based on commit timestamps.
- Investigate if Dataflow is duplicating events excessively.
Last updated on