pub struct CheckpointConfiguration {
pub checkpoint_interval: Option<i64>,
pub checkpointing_enabled: Option<bool>,
pub configuration_type: String,
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
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.
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.
configuration_type: String
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
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.
Trait Implementations
sourceimpl Clone for CheckpointConfiguration
impl Clone for CheckpointConfiguration
sourcefn clone(&self) -> CheckpointConfiguration
fn clone(&self) -> CheckpointConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CheckpointConfiguration
impl Debug for CheckpointConfiguration
sourceimpl Default for CheckpointConfiguration
impl Default for CheckpointConfiguration
sourcefn default() -> CheckpointConfiguration
fn default() -> CheckpointConfiguration
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CheckpointConfiguration> for CheckpointConfiguration
impl PartialEq<CheckpointConfiguration> for CheckpointConfiguration
sourcefn eq(&self, other: &CheckpointConfiguration) -> bool
fn eq(&self, other: &CheckpointConfiguration) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CheckpointConfiguration) -> bool
fn ne(&self, other: &CheckpointConfiguration) -> bool
This method tests for !=
.
sourceimpl Serialize for CheckpointConfiguration
impl Serialize for CheckpointConfiguration
impl StructuralPartialEq for CheckpointConfiguration
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more