Trait rdkafka::config::FromClientConfig
source · [−]pub trait FromClientConfig: Sized {
fn from_config(_: &ClientConfig) -> KafkaResult<Self>;
}
Expand description
Create a new client based on the provided configuration.
Required methods
fn from_config(_: &ClientConfig) -> KafkaResult<Self>
fn from_config(_: &ClientConfig) -> KafkaResult<Self>
Creates a client from a client configuration. The default client context will be used.