Skip to content

Commit d4a1f29

Browse files
authored
[DCP Ingestion - Stale Reads] Enable Stale Reads in CDC Web server which runs mixer (#31)
* Pass in use stale reads to environment variables for CDC webservice which starts up mixer. * Only use stale reads if spanner is enabled. * Move stale reads to CDC only. * Adds GCP PRoject ID which will go in the spanner config. * Removes the USE_STALE_READS flag which is no longer needed
1 parent b8699ab commit d4a1f29

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

infra/dcp/modules/cdc/main.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,11 @@ resource "google_cloud_run_v2_service" "dc_web_service" {
262262
}
263263
}
264264

265+
env {
266+
name = "GCP_PROJECT_ID"
267+
value = var.project_id
268+
}
269+
265270
dynamic "env" {
266271
for_each = local.cloud_run_shared_env_variable_secrets
267272
content {

0 commit comments

Comments
 (0)