[][src]Enum tempest::topology::TopologyFailurePolicy

pub enum TopologyFailurePolicy {
    None,
    BestEffort,
    Retry(usize),
}

Enum for configuring how to process message failures.

Variants

None

Messages with Errors/Timeouts are left unacked. This is used when the message Source has it's own mechanism for dealing with Failures. For example, SQS automatically re-delivers unacked messages after a period of time. This should also be used when the Tempest source client implements it's own way of dealing with failure.

BestEffort

Messages are automatically acked, regardless of msg state (success, error, timeout)

Retry(usize)

Messages are held within the Topology and retried up to this limit The retry interval is automatically every 60s.

Trait Implementations

impl Default for TopologyFailurePolicy[src]

impl Clone for TopologyFailurePolicy[src]

impl PartialEq<TopologyFailurePolicy> for TopologyFailurePolicy[src]

impl Debug for TopologyFailurePolicy[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,