Skip to content

Commit

Permalink
add flag for direct path that reads from system properties (apache#30588
Browse files Browse the repository at this point in the history
)

* add flag for direct path that reads from system properties

* remove unused imports

* change flag name to something more unique

* remove instance factory and just use boolean

* fix option name format
  • Loading branch information
m-trieu authored and hjtran committed Apr 4, 2024
1 parent 1a50fdc commit 260a143
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,14 @@ public interface DataflowStreamingPipelineOptions extends PipelineOptions {

void setWindmillServiceStreamMaxBackoffMillis(int value);

@Description(
"If true, Dataflow streaming pipeline will be running in direct path mode."
+ " VMs must have IPv6 enabled for this to work.")
@Default.Boolean(false)
boolean getIsWindmillServiceDirectPathEnabled();

void setIsWindmillServiceDirectPathEnabled(boolean isWindmillServiceDirectPathEnabled);

/**
* Factory for creating local Windmill address. Reads from system propery 'windmill.hostport' for
* backwards compatibility.
Expand Down

0 comments on commit 260a143

Please sign in to comment.