Which Java SDK class can you use to run your Dataflow programs locally?

Which Java SDK class can you use to run your Dataflow programs locally?
A . LocalRunner
B . DirectPipelineRunner
C . MachineRunner
D . LocalPipelineRunner

Answer: B

Explanation:

DirectPipelineRunner allows you to execute operations in the pipeline directly, without any optimization. Useful for small local execution and tests

Reference: https://cloud.google.com/dataflow/java-sdk/JavaDoc/com/google/cloud/dataflow/sdk/runners/DirectPipelineRunner

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments