-
Notifications
You must be signed in to change notification settings - Fork 162
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
ConsumerGroup.Manager does not proxy along worker options #407
Comments
I don't know if this was an intentional decision, but you can handle this by creating your own worker(s) and passing it into the {:ok, _} = KafkaEx.create_worker(MyWorker, uris: [{"ec2-xxx.compute-1.amazonaws.com", 9096}], use_ssl: true, ssl_options: [cert: <<...>>, key: { :RSAPrivateKey, <<..>>}])
Supervisor.Spec.supervisor(
KafkaEx.ConsumerGroup,
[
OurSweetConsumer,
"my-topic",
["my-consumer-group-name"],
[fetch_options: [worker_name: MyWorker]]
]
) Edit: |
Any objections to a simple addition to include |
To close the loop here, added a PR to add this here: #413 It ends up requiring less verbosity and allows for passing through options to the worker @joshuawscott |
This can be closed now that the PR has been merged in |
Thanks! |
We are trying to configure our producers and consumer groups with individual cluster configurations but we noticed that in our review environments that use SSL we were unable to connect.
This is because
ConsumerGroup.Manager
is dropping all but theuris
option.I'm curious if this was by design and that I am totally missing the reasoning behind it.
Note the same issue is on
GenConsumer
The text was updated successfully, but these errors were encountered: