Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Receive option as hashmap #366

Closed
kination opened this issue May 18, 2021 · 1 comment
Closed

[Suggestion] Receive option as hashmap #366

kination opened this issue May 18, 2021 · 1 comment

Comments

@kination
Copy link

Hello,
While using the module, there are a situation to receive configs as HashMap.
But in the example I could only find setting config one by one using ClientConfig::new().set().set()...

Is there some option to put option as hashmap such as

let config = HashMap::new();
// ...
let client_config = ClientConfig::new().set_config_map(config);
...

?

@kination kination changed the title Receive option as hashmap [Suggestion] Receive option as hashmap May 19, 2021
benesch pushed a commit to kination/rust-rdkafka that referenced this issue Jun 30, 2021
benesch pushed a commit to kination/rust-rdkafka that referenced this issue Jun 30, 2021
@benesch
Copy link
Collaborator

benesch commented Oct 16, 2021

Fixed in #367. Thanks, @djKooks!

@benesch benesch closed this as completed Oct 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants