public class KubernetesCheckpointRecoveryFactory extends Object implements org.apache.flink.runtime.checkpoint.CheckpointRecoveryFactory
CompletedCheckpointStore and CheckpointIDCounter.| Constructor and Description |
|---|
KubernetesCheckpointRecoveryFactory(FlinkKubeClient kubeClient,
org.apache.flink.configuration.Configuration configuration,
Executor executor,
java.util.function.Function<org.apache.flink.api.common.JobID,String> function,
String lockIdentity)
Create a KubernetesCheckpointRecoveryFactory.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.runtime.checkpoint.CheckpointIDCounter |
createCheckpointIDCounter(org.apache.flink.api.common.JobID jobID) |
org.apache.flink.runtime.checkpoint.CompletedCheckpointStore |
createRecoveredCompletedCheckpointStore(org.apache.flink.api.common.JobID jobID,
int maxNumberOfCheckpointsToRetain,
ClassLoader userClassLoader) |
public KubernetesCheckpointRecoveryFactory(FlinkKubeClient kubeClient, org.apache.flink.configuration.Configuration configuration, Executor executor, java.util.function.Function<org.apache.flink.api.common.JobID,String> function, String lockIdentity)
kubeClient - Kubernetes clientconfiguration - Flink configurationexecutor - IO executor to run blocking callsfunction - Function to get the ConfigMap name for checkpoint.lockIdentity - Lock identity of current HA servicepublic org.apache.flink.runtime.checkpoint.CompletedCheckpointStore createRecoveredCompletedCheckpointStore(org.apache.flink.api.common.JobID jobID,
int maxNumberOfCheckpointsToRetain,
ClassLoader userClassLoader)
throws Exception
createRecoveredCompletedCheckpointStore in interface org.apache.flink.runtime.checkpoint.CheckpointRecoveryFactoryExceptionpublic org.apache.flink.runtime.checkpoint.CheckpointIDCounter createCheckpointIDCounter(org.apache.flink.api.common.JobID jobID)
createCheckpointIDCounter in interface org.apache.flink.runtime.checkpoint.CheckpointRecoveryFactoryCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.