Struct rdkafka::consumer::EmptyConsumerContext [] [src]

pub struct EmptyConsumerContext;

An empty consumer context that can be user when no context is needed.

Trait Implementations

impl Clone for EmptyConsumerContext
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Context for EmptyConsumerContext
[src]

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

impl ConsumerContext for EmptyConsumerContext
[src]

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

Post-rebalance callback. This method will run after the rebalance and should terminate its execution quickly. Read more