You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: v2/datastream-to-spanner/README_Cloud_Datastream_to_Spanner.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,7 @@ on [Metadata Annotations](https://github.com/GoogleCloudPlatform/DataflowTemplat
79
79
***schemaOverridesFilePath**: A file which specifies the table and the column name overrides from source to spanner. Defaults to empty.
80
80
***shadowTableSpannerDatabaseId**: Optional separate database for shadow tables. If not specified, shadow tables will be created in the main database. If specified, ensure shadowTableSpannerInstanceId is specified as well. Defaults to empty.
81
81
***shadowTableSpannerInstanceId**: Optional separate instance for shadow tables. If not specified, shadow tables will be created in the main instance. If specified, ensure shadowTableSpannerDatabaseId is specified as well. Defaults to empty.
82
+
***failureInjectionParameter**: Failure injection parameter. Only used for testing. Defaults to empty.
82
83
83
84
84
85
@@ -193,6 +194,7 @@ export COLUMN_OVERRIDES=""
193
194
export SCHEMA_OVERRIDES_FILE_PATH=""
194
195
export SHADOW_TABLE_SPANNER_DATABASE_ID=""
195
196
export SHADOW_TABLE_SPANNER_INSTANCE_ID=""
197
+
export FAILURE_INJECTION_PARAMETER=""
196
198
197
199
gcloud dataflow flex-template run "cloud-datastream-to-spanner-job" \
198
200
--project "$PROJECT" \
@@ -231,7 +233,8 @@ gcloud dataflow flex-template run "cloud-datastream-to-spanner-job" \
Copy file name to clipboardExpand all lines: v2/sourcedb-to-spanner/README_Sourcedb_to_Spanner_Flex.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,7 @@ on [Metadata Annotations](https://github.com/GoogleCloudPlatform/DataflowTemplat
45
45
***namespace**: Namespace to exported. For PostgreSQL, if no namespace is provided, 'public' will be used. Defaults to empty.
46
46
***insertOnlyModeForSpannerMutations**: By default the pipeline uses Upserts to write rows to spanner. Which means existing rows would get overwritten. If InsertOnly mode is enabled, inserts would be used instead of upserts and existing rows won't be overwritten.
47
47
***batchSizeForSpannerMutations**: BatchSize in bytes for Spanner Mutations. if set less than 0, default of Apache Beam's SpannerIO is used, which is 1MB. Set this to 0 or 10, to disable batching mutations.
48
+
***spannerPriority**: The request priority for Cloud Spanner calls. The value must be one of: [`HIGH`,`MEDIUM`,`LOW`]. Defaults to `MEDIUM`.
48
49
***disabledAlgorithms**: Comma separated algorithms to disable. If this value is set to `none`, no algorithm is disabled. Use this parameter with caution, because the algorithms disabled by default might have vulnerabilities or performance issues. For example, `SSLv3, RC4`.
49
50
***extraFilesToStage**: Comma separated Cloud Storage paths or Secret Manager secrets for files to stage in the worker. These files are saved in the /extra_files directory in each worker. For example, `gs://<BUCKET_NAME>/file.txt,projects/<PROJECT_ID>/secrets/<SECRET_ID>/versions/<VERSION_ID>`.
0 commit comments