Struct rdkafka::statistics::ExactlyOnceSemantics[][src]

pub struct ExactlyOnceSemantics {
    pub idemp_state: String,
    pub idemp_stateage: i64,
    pub txn_state: String,
    pub txn_stateage: i64,
    pub txn_may_enq: bool,
    pub producer_id: i64,
    pub producer_epoch: i64,
    pub epoch_cnt: i64,
}
Expand description

Exactly-once semantics statistics.

Fields

idemp_state: String

The current idempotent producer state.

idemp_stateage: i64

THe time elapsed since the last idempotent producer state change, in milliseconds.

txn_state: String

The current transactional producer state.

txn_stateage: i64

The time elapsed since the last transactional producer state change, in milliseconds.

txn_may_enq: bool

Whether the transactional state allows enqueing (producing) new messages.

producer_id: i64

The currently assigned producer ID, or -1.

producer_epoch: i64

The current epoch, or -1.

epoch_cnt: i64

The number of producer ID assignments.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.