Skip to content

Specify project id for spanner to avro export #85

@jlemaes

Description

@jlemaes

I'd like to run the "Cloud Spanner to Cloud Storage Avro" template in a different project than the project my spanner instance lives.
Currently I cannot specify the project in the template:

SpannerConfig spannerConfig =
SpannerConfig.create()
.withHost(options.getSpannerHost())
.withInstanceId(options.getInstanceId())
.withDatabaseId(options.getDatabaseId());

It is however possible in the spanner to text export:
SpannerConfig spannerConfig =
SpannerConfig.create()
.withProjectId(options.getSpannerProjectId())
.withInstanceId(options.getSpannerInstanceId())
.withDatabaseId(options.getSpannerDatabaseId());

Is this something that can be added?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions