[][src]Struct eventstore::PersistentSubscriptionSettings

pub struct PersistentSubscriptionSettings {
    pub resolve_links: bool,
    pub revision: u64,
    pub extra_stats: bool,
    pub message_timeout: Duration,
    pub max_retry_count: i32,
    pub live_buffer_size: i32,
    pub read_batch_size: i32,
    pub history_buffer_size: i32,
    pub checkpoint_after: Duration,
    pub min_checkpoint_count: i32,
    pub max_checkpoint_count: i32,
    pub max_subscriber_count: i32,
    pub named_consumer_strategy: SystemConsumerStrategy,
}

Gathers every persistent subscription property.

Fields

resolve_links: bool

Whether or not the persistent subscription shoud resolve 'linkTo' events to their linked events.

revision: u64

Where the subscription should start from (event number).

extra_stats: bool

Whether or not in depth latency statistics should be tracked on this subscription.

message_timeout: Duration

The amount of time after which a message should be considered to be timeout and retried.

max_retry_count: i32

The maximum number of retries (due to timeout) before a message get considered to be parked.

live_buffer_size: i32

The size of the buffer listenning to live messages as they happen.

read_batch_size: i32

The number of events read at a time when paging in history.

history_buffer_size: i32

The number of events to cache when paging through history.

checkpoint_after: Duration

The amount of time to try checkpoint after.

min_checkpoint_count: i32

The minimum number of messages to checkpoint.

max_checkpoint_count: i32

The maximum number of messages to checkpoint. If this number is reached , a checkpoint will be forced.

max_subscriber_count: i32

The maximum number of subscribers allowed.

named_consumer_strategy: SystemConsumerStrategy

The strategy to use for distributing events to client consumers.

Implementations

impl PersistentSubscriptionSettings[src]

Trait Implementations

impl Clone for PersistentSubscriptionSettings[src]

impl Copy for PersistentSubscriptionSettings[src]

impl Debug for PersistentSubscriptionSettings[src]

impl Default for PersistentSubscriptionSettings[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]