Package org.apache.beam.runners.flink
Class FlinkPipelineOptions.MaxBundleTimeFactory
java.lang.Object
org.apache.beam.runners.flink.FlinkPipelineOptions.MaxBundleTimeFactory
- All Implemented Interfaces:
DefaultValueFactory<Long>
- Enclosing interface:
FlinkPipelineOptions
public static class FlinkPipelineOptions.MaxBundleTimeFactory
extends Object
implements DefaultValueFactory<Long>
Maximum bundle time factory. For a streaming job it's desireable to keep the value small to
optimize latency. In batch, we optimize for throughput and hence bundle time size is kept
larger.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate
(PipelineOptions options) Creates a default value for a getter marked withDefault.InstanceFactory
.
-
Constructor Details
-
MaxBundleTimeFactory
public MaxBundleTimeFactory()
-
-
Method Details
-
create
Description copied from interface:DefaultValueFactory
Creates a default value for a getter marked withDefault.InstanceFactory
.- Specified by:
create
in interfaceDefaultValueFactory<Long>
- Parameters:
options
- The current pipeline options.- Returns:
- The default value to be used for the annotated getter.
-