Skip to content

Commit 63ebaa1

Browse files
authored
[Datastream] - Based on the public documentation of datastream to bigquery, setting gcs pubsub AND inputFilePattern as an optional (#3307)
1 parent 48b2434 commit 63ebaa1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

v2/datastream-to-bigquery/src/main/java/com/google/cloud/teleport/v2/templates/DataStreamToBigQuery.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ public interface Options
150150

151151
@TemplateParameter.GcsReadFile(
152152
order = 1,
153+
optional = true,
153154
groupName = "Source",
154155
description = "File location for Datastream file output in Cloud Storage.",
155156
helpText =
@@ -171,6 +172,7 @@ public interface Options
171172

172173
@TemplateParameter.PubsubSubscription(
173174
order = 3,
175+
optional = true,
174176
description = "The Pub/Sub subscription on the Cloud Storage bucket.",
175177
helpText =
176178
"The Pub/Sub subscription used by Cloud Storage to notify Dataflow of new files available for processing, in the format: `projects/<PROJECT_ID>/subscriptions/<SUBSCRIPTION_NAME>`.")

0 commit comments

Comments
 (0)