Struct rdkafka::statistics::Statistics [−][src]
Overall statistics.
Fields
name: String
The name of the librdkafka handle.
client_id: String
The configured client.id
.
client_type: String
The instance type (producer or consumer).
ts: i64
The current value of librdkafka’s internal monotonic clock, in
time: i64
Wall clock time, in seconds since the Unix epoch.
replyq: i64
The number of operations (callbacks, events, etc.) waiting in queue.
msg_cnt: i64
The current number of messages in producer queues.
msg_size: i64
The current total size of messages in producer queues.
msg_max: i64
The maximum number of messages allowed in the producer queues.
msg_size_max: i64
The maximum total size of messages allowed in the producer queues.
tx: i64
The total number of requests sent to brokers.
tx_bytes: i64
The total number of bytes transmitted to brokers.
rx: i64
The total number of responses received from brokers.
rx_bytes: i64
The total number of bytes received from brokers.
txmsgs: i64
The total number of messages transmitted (produced) to brokers.
txmsg_bytes: i64
The total number of bytes transmitted (produced) to brokers.
rxmsgs: i64
The total number of messages consumed from brokers, not including ignored messages.
rxmsg_bytes: i64
The total number of bytes (including framing) consumed from brokers.
simple_cnt: i64
Internal tracking of legacy vs. new consumer API state.
metadata_cache_cnt: i64
Number of topics in the metadata cache.
brokers: HashMap<String, Broker>
Per-broker statistics.
topics: HashMap<String, Topic>
Per-topic statistics.
cgrp: Option<ConsumerGroup>
Consumer group statistics.
eos: Option<ExactlyOnceSemantics>
Exactly-once semantics and idempotent producer statistics.
Trait Implementations
impl Debug for Statistics
[src]
impl<'de> Deserialize<'de> for Statistics
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,