I want to have customised Job Name and Job Id for each google dataflow Job I run. I am to create a customised Job name for the job.
我想为我运行的每个Google数据流作业定制作业名称和作业ID。我要为作业创建一个自定义的作业名称。
But i am unable to set a customised job id.
但我无法设置自定义的工作ID。
I found a com.google.cloud.dataflow.sdk.options.DataflowWorkerHarnessOptions
interface which has a method setJobId(String value). But I was unable to use that also create a customized job id.
我找到了一个com.google.cloud.dataflow.sdk.options.DataflowWorkerHarnessOptions接口,它有一个方法setJobId(String value)。但我无法使用它也创建一个自定义的工作ID。
Is there a way to create a customized Job Id?
有没有办法创建自定义的工作ID?
1 个解决方案
#1
2
JobId is the Dataflow service's identifier for the job and must be globally unique, so the service does not allow the user to pick one.
JobId是作业的Dataflow服务标识符,必须是全局唯一的,因此该服务不允许用户选择一个。
#1
2
JobId is the Dataflow service's identifier for the job and must be globally unique, so the service does not allow the user to pick one.
JobId是作业的Dataflow服务标识符,必须是全局唯一的,因此该服务不允许用户选择一个。