This repository was archived by the owner on Nov 11, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
examples/src/main/java/com/google/cloud/dataflow/examples/complete
sdk/src/main/java/com/google/cloud/dataflow/sdk/options Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6868 *
6969 * <p>The default input is {@code gs://dataflow-samples/wikipedia_edits/*.json} and can be
7070 * overridden with {@code --input}.
71- *
72- * <p>The input for this example is large enough that it's a good place to enable (experimental)
73- * autoscaling:
74- * <pre>{@code
75- * --autoscalingAlgorithm=BASIC
76- * --maxNumWorkers=20
77- * }
78- * </pre>
79- * This will automatically scale the number of workers up over time until the job completes.
8071 */
8172public class TopWikipediaSessions {
8273 private static final String EXPORTED_WIKI_TABLE = "gs://dataflow-samples/wikipedia_edits/*.json" ;
Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ public interface DataflowPipelineWorkerPoolOptions extends PipelineOptions {
4545 /**
4646 * Type of autoscaling algorithm to use.
4747 */
48- @ Experimental (Experimental .Kind .AUTOSCALING )
4948 enum AutoscalingAlgorithmType {
5049 /** Use numWorkers machines. Do not autoscale the worker pool. */
5150 NONE ("AUTOSCALING_ALGORITHM_NONE" ),
@@ -69,7 +68,7 @@ public String getAlgorithm() {
6968 }
7069
7170 /**
72- * [Experimental] The autoscaling algorithm to use for the workerpool.
71+ * The autoscaling algorithm to use for the workerpool.
7372 *
7473 * <ul>
7574 * <li>NONE: does not change the size of the worker pool.</li>
@@ -78,12 +77,11 @@ public String getAlgorithm() {
7877 * </li>
7978 * </ul>
8079 */
81- @ Description ("[Experimental] The autoscaling algorithm to use for the workerpool. "
80+ @ Description ("The autoscaling algorithm to use for the workerpool. "
8281 + "NONE: does not change the size of the worker pool. "
8382 + "BASIC (deprecated): autoscale the worker pool size up to maxNumWorkers until the job "
8483 + "completes. "
8584 + "THROUGHPUT_BASED: autoscale the workerpool based on throughput (up to maxNumWorkers)." )
86- @ Experimental (Experimental .Kind .AUTOSCALING )
8785 AutoscalingAlgorithmType getAutoscalingAlgorithm ();
8886 void setAutoscalingAlgorithm (AutoscalingAlgorithmType value );
8987
You can’t perform that action at this time.
0 commit comments