Struct rdkafka::config::ClientConfig [] [src]

pub struct ClientConfig {
    pub log_level: RDKafkaLogLevel,
    // some fields omitted
}

Client configuration.

Fields

Methods

impl ClientConfig
[src]

Creates a new empty configuration.

Sets a new parameter in the configuration.

Sets the default topic configuration to use for automatically subscribed topics (e.g., through pattern-matched topics).

Sets the log level of the client. If not specified, the log level will be calculated based on the global log level of the log crate.

Returns the native rdkafka-sys configuration.

Uses the current configuration to create a new Consumer or Producer.

Uses the current configuration and the provided context to create a new Consumer or Producer.

Trait Implementations

impl Clone for ClientConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for ClientConfig
[src]

Returns the "default value" for a type. Read more