DataflowTemplates icon indicating copy to clipboard operation
DataflowTemplates copied to clipboard

[Bug]: Spanner-related templates use incorrect host endpoints

Open nielm opened this issue 9 months ago • 1 comments

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


nielm avatar Apr 07 '25 07:04 nielm

PR to fix this: https://github.com/GoogleCloudPlatform/DataflowTemplates/pull/2321

nielm avatar Apr 28 '25 13:04 nielm