This repository was archived by the owner on Nov 11, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed
sdk/src/main/java/com/google/cloud/dataflow/sdk Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -625,7 +625,7 @@ public DataflowPipelineJob run(Pipeline pipeline) {
625625 // regularly and need not be retried automatically.
626626 DataflowPipelineJob dataflowPipelineJob =
627627 new DataflowPipelineJob (options .getProject (), jobResult .getId (),
628- Transport .newRawDataflowClient (options ).build (), aggregatorTransforms );
628+ Transport .newDataflowClient (options ).build (), aggregatorTransforms );
629629
630630 // If the service returned client request id, the SDK needs to compare it
631631 // with the original id generated in the request, if they are not the same
Original file line number Diff line number Diff line change @@ -157,17 +157,6 @@ public static Clouddebugger.Builder newClouddebuggerClient(DataflowPipelineOptio
157157 .setGoogleClientRequestInitializer (options .getGoogleApiTrace ());
158158 }
159159
160- /**
161- * Returns a Dataflow client that does not automatically retry failed
162- * requests.
163- */
164- public static Dataflow .Builder
165- newRawDataflowClient (DataflowPipelineOptions options ) {
166- return newDataflowClient (options )
167- .setHttpRequestInitializer (options .getGcpCredential ())
168- .setGoogleClientRequestInitializer (options .getGoogleApiTrace ());
169- }
170-
171160 /**
172161 * Returns a Cloud Storage client builder.
173162 *
You can’t perform that action at this time.
0 commit comments