public interface CheckpointConfig extends Config, org.aeonbits.owner.Mutable
org.aeonbits.owner.Config.ConverterClass, org.aeonbits.owner.Config.DecryptorClass, org.aeonbits.owner.Config.DefaultValue, org.aeonbits.owner.Config.DisableableFeature, org.aeonbits.owner.Config.DisableFeature, org.aeonbits.owner.Config.EncryptedValue, org.aeonbits.owner.Config.HotReload, org.aeonbits.owner.Config.HotReloadType, org.aeonbits.owner.Config.Key, org.aeonbits.owner.Config.LoadPolicy, org.aeonbits.owner.Config.LoadType, org.aeonbits.owner.Config.PreprocessorClasses, org.aeonbits.owner.Config.Separator, org.aeonbits.owner.Config.Sources, org.aeonbits.owner.Config.TokenizerClass| Modifier and Type | Field and Description |
|---|---|
static String |
CP_INTERVAL_SECS |
static String |
CP_PREFIX_KEY_MASTER |
static String |
CP_PREFIX_KEY_OPERATOR |
static String |
CP_PREFIX_KEY_WORKER |
static String |
CP_TIMEOUT_SECS |
| Modifier and Type | Method and Description |
|---|---|
int |
cpIntervalSecs()
Checkpoint time interval.
|
int |
cpTimeoutSecs()
How long should JobMaster wait for checkpoint to finish.
|
String |
jobMasterContextCpPrefixKey()
This is used for saving JobMaster's context to storage, user usually don't need to change this.
|
String |
jobWorkerContextCpPrefixKey()
This is used for saving JobWorker's context to storage, user usually don't need to change this.
|
String |
jobWorkerOpCpPrefixKey()
This is used for saving user operator(in StreamTask)'s context to storage, user usually don't
need to change this.
|
static final String CP_INTERVAL_SECS
static final String CP_TIMEOUT_SECS
static final String CP_PREFIX_KEY_MASTER
static final String CP_PREFIX_KEY_WORKER
static final String CP_PREFIX_KEY_OPERATOR
@Config.DefaultValue(value="5") @Config.Key(value="streaming.checkpoint.interval.secs") int cpIntervalSecs()
@Config.DefaultValue(value="120") @Config.Key(value="streaming.checkpoint.timeout.secs") int cpTimeoutSecs()
@Config.DefaultValue(value="job_master_runtime_context_") @Config.Key(value="streaming.checkpoint.prefix-key.job-master.context") String jobMasterContextCpPrefixKey()
@Config.DefaultValue(value="job_worker_context_") @Config.Key(value="streaming.checkpoint.prefix-key.job-worker.context") String jobWorkerContextCpPrefixKey()
@Config.DefaultValue(value="job_worker_op_") @Config.Key(value="streaming.checkpoint.prefix-key.job-worker.operator") String jobWorkerOpCpPrefixKey()
Copyright © 2021. All rights reserved.