Struct rdkafka::consumer::DefaultConsumerContext [] [src]

pub struct DefaultConsumerContext;

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

Trait Implementations

impl Clone for DefaultConsumerContext
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl ClientContext for DefaultConsumerContext
[src]

[src]

Receives log lines from librdkafka.

[src]

Receives the statistics of the librdkafka client. To enable, the "statistics.interval.ms" configuration parameter must be specified. Read more

[src]

Receives global errors from the librdkafka client.

impl ConsumerContext for DefaultConsumerContext
[src]

[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

[src]

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

[src]

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

[src]

Post commit callback. This method will run after a group of offsets was committed to the offset store. Read more

Auto Trait Implementations