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