Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ public DataflowPipelineJob run(Pipeline pipeline) {
// regularly and need not be retried automatically.
DataflowPipelineJob dataflowPipelineJob =
new DataflowPipelineJob(options.getProject(), jobResult.getId(),
Transport.newRawDataflowClient(options).build(), aggregatorTransforms);
Transport.newDataflowClient(options).build(), aggregatorTransforms);

// If the service returned client request id, the SDK needs to compare it
// with the original id generated in the request, if they are not the same
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,17 +157,6 @@ public static Clouddebugger.Builder newClouddebuggerClient(DataflowPipelineOptio
.setGoogleClientRequestInitializer(options.getGoogleApiTrace());
}

/**
* Returns a Dataflow client that does not automatically retry failed
* requests.
*/
public static Dataflow.Builder
newRawDataflowClient(DataflowPipelineOptions options) {
return newDataflowClient(options)
.setHttpRequestInitializer(options.getGcpCredential())
.setGoogleClientRequestInitializer(options.getGoogleApiTrace());
}

/**
* Returns a Cloud Storage client builder.
*
Expand Down