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

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

Client configuration.

Fields

Methods

impl ClientConfig
[src]

[src]

Creates a new empty configuration.

[src]

Sets a new parameter in the configuration.

[src]

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.

[src]

Returns the native rdkafka-sys configuration.

[src]

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

[src]

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

Trait Implementations

impl Clone for ClientConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for ClientConfig
[src]

[src]

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

Auto Trait Implementations

impl Send for ClientConfig

impl Sync for ClientConfig