Package cz.o2.proxima.direct.io.pubsub
Class PubSubWatermarkConfiguration
- java.lang.Object
-
- cz.o2.proxima.direct.core.time.WatermarkConfiguration
-
- cz.o2.proxima.direct.io.pubsub.PubSubWatermarkConfiguration
-
- All Implemented Interfaces:
java.io.Serializable
public class PubSubWatermarkConfiguration extends WatermarkConfiguration
Watermark configuration for PubSub- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class cz.o2.proxima.direct.core.time.WatermarkConfiguration
CFG_ESTIMATOR_FACTORY, CFG_IDLE_POLICY_FACTORY, CFG_PREFIX
-
-
Constructor Summary
Constructors Constructor Description PubSubWatermarkConfiguration(java.util.Map<java.lang.String,java.lang.Object> cfg, long defaultEstimateDuration, long defaultAllowedTimestampSkew)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WatermarkEstimatorFactory
getDefaultEstimatorFactory()
Returns default estimator factory when none user's factory is provided.protected WatermarkIdlePolicyFactory
getDefaultIdlePolicyFactory()
Returns default idle policy factory when none user's factory is provided.-
Methods inherited from class cz.o2.proxima.direct.core.time.WatermarkConfiguration
configure, prefixedKey
-
-
-
-
Method Detail
-
getDefaultIdlePolicyFactory
protected WatermarkIdlePolicyFactory getDefaultIdlePolicyFactory()
Description copied from class:WatermarkConfiguration
Returns default idle policy factory when none user's factory is provided.- Specified by:
getDefaultIdlePolicyFactory
in classWatermarkConfiguration
- Returns:
WatermarkIdlePolicyFactory
default idle watermark policy
-
getDefaultEstimatorFactory
protected WatermarkEstimatorFactory getDefaultEstimatorFactory()
Description copied from class:WatermarkConfiguration
Returns default estimator factory when none user's factory is provided.- Specified by:
getDefaultEstimatorFactory
in classWatermarkConfiguration
- Returns:
WatermarkEstimatorFactory
default watermark estimator factory.
-
-