DataflowTemplates
DataflowTemplates copied to clipboard
[Bug]: Spanner-related templates use incorrect host endpoints
Related Template(s)
All spanner related templates
Template Version
all
What happened?
When a template that uses spanner does not have a hostname specified, it uses spanner.googleapis.com
This should be batch-spanner.googleapis.com
see: https://github.com/apache/beam/blob/master/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/SpannerConfig.java#L45C1-L46C1
Relevant log output
PR to fix this: https://github.com/GoogleCloudPlatform/DataflowTemplates/pull/2321