pub struct DefaultConsumerContext;
An empty consumer context that can be user when no context is needed.
Receives log lines from librdkafka.
Receives the statistics of the librdkafka client. To enable, the "statistics.interval.ms" configuration parameter must be specified. Read more
Receives global errors from the librdkafka client.
Implements the default rebalancing strategy and calls the pre_rebalance
and post_rebalance
methods. If this method is overridden, it will be responsibility of the user to call them if needed. Read more
Pre-rebalance callback. This method will run before the rebalance and should terminate its execution quickly. Read more
fn post_rebalance<'a>(&self, rebalance: &Rebalance<'a>) | [src] |
Post-rebalance callback. This method will run after the rebalance and should terminate its execution quickly. Read more
Post commit callback. This method will run after a group of offsets was committed to the offset store. Read more
Performs copy-assignment from source
. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static