Struct aws_sdk_kinesisanalyticsv2::model::CheckpointConfiguration [−][src]
#[non_exhaustive]pub struct CheckpointConfiguration {
pub configuration_type: Option<ConfigurationType>,
pub checkpointing_enabled: Option<bool>,
pub checkpoint_interval: Option<i64>,
pub min_pause_between_checkpoints: Option<i64>,
}
Expand description
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 in the Apache Flink Documentation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.configuration_type: Option<ConfigurationType>
Describes whether the application uses Kinesis Data Analytics' default checkpointing behavior.
You must set this property to CUSTOM
in order to set the
CheckpointingEnabled
, CheckpointInterval
, or MinPauseBetweenCheckpoints
parameters.
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
checkpointing_enabled: Option<bool>
Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics application.
If CheckpointConfiguration.ConfigurationType
is DEFAULT
,
the application will use a CheckpointingEnabled
value of true
, even if this value
is set to another value using this API or in application code.
checkpoint_interval: Option<i64>
Describes the interval in milliseconds between checkpoint operations.
If CheckpointConfiguration.ConfigurationType
is DEFAULT
,
the application will use a CheckpointInterval
value of 60000, even if this value is set
to another value using this API or in application code.
min_pause_between_checkpoints: Option<i64>
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 Checkpointing in the Apache Flink
Documentation.
If CheckpointConfiguration.ConfigurationType
is DEFAULT
,
the application will use a MinPauseBetweenCheckpoints
value of 5000, even if this value is set using this
API or in application code.
Implementations
Describes whether the application uses Kinesis Data Analytics' default checkpointing behavior.
You must set this property to CUSTOM
in order to set the
CheckpointingEnabled
, CheckpointInterval
, or MinPauseBetweenCheckpoints
parameters.
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
Describes whether checkpointing is enabled for a Flink-based Kinesis Data Analytics application.
If CheckpointConfiguration.ConfigurationType
is DEFAULT
,
the application will use a CheckpointingEnabled
value of true
, even if this value
is set to another value using this API or in application code.
Describes the interval in milliseconds between checkpoint operations.
If CheckpointConfiguration.ConfigurationType
is DEFAULT
,
the application will use a CheckpointInterval
value of 60000, even if this value is set
to another value using this API or in application code.
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 Checkpointing in the Apache Flink
Documentation.
If CheckpointConfiguration.ConfigurationType
is DEFAULT
,
the application will use a MinPauseBetweenCheckpoints
value of 5000, even if this value is set using this
API or in application code.
Creates a new builder-style object to manufacture CheckpointConfiguration
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CheckpointConfiguration
impl Send for CheckpointConfiguration
impl Sync for CheckpointConfiguration
impl Unpin for CheckpointConfiguration
impl UnwindSafe for CheckpointConfiguration
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more