Struct rdkafka::statistics::ExactlyOnceSemantics
source · [−]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
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more