AWS::KinesisAnalyticsV2::Application CheckpointConfiguration
Describes an application's checkpointing configuration. Checkpointing is the process of persisting application state for fault
tolerance.
For more information, see
Checkpoints for Fault Tolerance
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "CheckpointingEnabled" :
Boolean
, "CheckpointInterval" :Integer
, "ConfigurationType" :String
, "MinPauseBetweenCheckpoints" :Integer
}
YAML
CheckpointingEnabled:
Boolean
CheckpointInterval:Integer
ConfigurationType:String
MinPauseBetweenCheckpoints:Integer
Properties
CheckpointingEnabled
-
Describes whether checkpointing is enabled for a Managed Service for Apache Flink application.
Note
If
CheckpointConfiguration.ConfigurationType
isDEFAULT
, the application will use aCheckpointingEnabled
value oftrue
, even if this value is set to another value using this API or in application code.Required: No
Type: Boolean
Update requires: No interruption
CheckpointInterval
-
Describes the interval in milliseconds between checkpoint operations.
Note
If
CheckpointConfiguration.ConfigurationType
isDEFAULT
, the application will use aCheckpointInterval
value of 60000, even if this value is set to another value using this API or in application code.Required: No
Type: Integer
Minimum:
1
Maximum:
9223372036854775807
Update requires: No interruption
ConfigurationType
-
Describes whether the application uses Managed Service for Apache Flink' default checkpointing behavior. You must set this property to
CUSTOM
in order to set theCheckpointingEnabled
,CheckpointInterval
, orMinPauseBetweenCheckpoints
parameters.Note
If this value is set to
DEFAULT
, the application will use the following values, even if they are set to other values using APIs or application code:-
CheckpointingEnabled: true
-
CheckpointInterval: 60000
-
MinPauseBetweenCheckpoints: 5000
Required: Yes
Type: String
Allowed values:
DEFAULT | CUSTOM
Update requires: No interruption
-
MinPauseBetweenCheckpoints
-
Describes the minimum time in milliseconds after a checkpoint operation completes that a new checkpoint operation can start. If a checkpoint operation takes longer than the
CheckpointInterval
, the application otherwise performs continual checkpoint operations. For more information, see Tuning Checkpointingin the Apache Flink Documentation . Note
If
CheckpointConfiguration.ConfigurationType
isDEFAULT
, the application will use aMinPauseBetweenCheckpoints
value of 5000, even if this value is set using this API or in application code.Required: No
Type: Integer
Minimum:
0
Maximum:
9223372036854775807
Update requires: No interruption
See also
-
CheckpointConfiguration in the Amazon Kinesis Data Analytics API Reference