【发布时间】:2019-06-15 17:43:42
【问题描述】:
我正在尝试使用 https://github.com/GoogleCloudPlatform/DataflowTemplates 和直接运行器在本地运行 PubSubToBigQuery.java。但是我收到错误消息
Exception in thread "main" java.lang.IllegalArgumentException: Class interface com.google.cloud.teleport.templates.PubSubToBigQuery$Options missing a property named 'gcs-location'.
at org.apache.beam.sdk.options.PipelineOptionsFactory.parseObjects(PipelineOptionsFactory.java:1518)
at org.apache.beam.sdk.options.PipelineOptionsFactory.access$400(PipelineOptionsFactory.java:111)
at org.apache.beam.sdk.options.PipelineOptionsFactory$Builder.as(PipelineOptionsFactory.java:294)
at com.google.cloud.teleport.templates.PubSubToBigQuery.main(PubSubToBigQuery.java:165)
但我已经在运行过程中通过了--gcs-location=gs://xxx-templates/dataflow/pipelines/pubsub-to-bigquery。
【问题讨论】:
标签: java google-bigquery apache-beam google-cloud-pubsub dataflow