-
Notifications
You must be signed in to change notification settings - Fork 203
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
Concurrent reads from same topic #233
Comments
You are right, the disadvantage of limiting one consumer topic per client is the sockets will be redundant. To to support more consumers per-client would imply the callers to either identify themselves with an ID, or assign |
Thanks for reply, Still I would appreciate if you remove is_atom(ClientId) guard, to support my use_case in a bit cleaner way (i woudl like to generate ClientId rather than cycle and reuse). |
It's a bit tricky but doable. |
A newer discussion was here: #369 |
Hi
In my application, i need to read (lets say from beginning) particular topic-partition in multiple concurrently running processes, which are started on demand.
So naturally i want multiple brod_consumers over same topic-partition, to keep current offset per my subscriber.
As i understand, the way ho to achieve this is to use multiple brod_clients. It indeed works. Question is as these clients are started on demand, clearly not as intended by design of brod. Are there any disadvantages?
I am aware of redundant tcp socket, and that client name is atom (does it need to be?)
Would it be possible to have multiple brod_consumers for same topic-partition under single brod_client?
The text was updated successfully, but these errors were encountered: