pub fn create_with_context<C, T>(
config: &ClientConfig,
context: C,
) -> KafkaResult<T>where
C: ClientContext,
T: FromClientConfigAndContext<C>,Expand description
Creates a client from config using ClientConfig::create_with_context.
Leaves the calling thread’s OpenSSL error queue empty.