Struct rdkafka::statistics::ConsumerGroup
source · pub struct ConsumerGroup {
pub state: String,
pub stateage: i64,
pub join_state: String,
pub rebalance_age: i64,
pub rebalance_cnt: i64,
pub rebalance_reason: String,
pub assignment_size: i32,
}
Expand description
Consumer group manager statistics.
Fields§
§state: String
The local consumer group handler’s state.
stateage: i64
The time elapsed since the last state change, in milliseconds.
join_state: String
The local consumer group hander’s join state.
rebalance_age: i64
The time elapsed since the last rebalance (assign or revoke), in milliseconds.
rebalance_cnt: i64
The total number of rebalances (assign or revoke).
rebalance_reason: String
The reason for the last rebalance.
This string will be empty if no rebalances have occurred.
assignment_size: i32
The partition count for the current assignment.
Trait Implementations§
source§impl Clone for ConsumerGroup
impl Clone for ConsumerGroup
source§fn clone(&self) -> ConsumerGroup
fn clone(&self) -> ConsumerGroup
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConsumerGroup
impl Debug for ConsumerGroup
source§impl Default for ConsumerGroup
impl Default for ConsumerGroup
source§fn default() -> ConsumerGroup
fn default() -> ConsumerGroup
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ConsumerGroup
impl<'de> Deserialize<'de> for ConsumerGroup
source§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
Auto Trait Implementations§
impl Freeze for ConsumerGroup
impl RefUnwindSafe for ConsumerGroup
impl Send for ConsumerGroup
impl Sync for ConsumerGroup
impl Unpin for ConsumerGroup
impl UnwindSafe for ConsumerGroup
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)