-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feat: consume per partition #2
Conversation
@jdbruijn @everhardt Could you review before we submit the PR to Blizzard? |
Yes, but will be next week. |
This implementation allows consuming some partitions individually and leaving the others in the global queue. The current way of doing that has a few weird consequences:
|
@martijnimhoff What's the status of this one? |
6345128
to
0b23659
Compare
@martijnimhoff how did you address my third point? |
It's a strange situation, but perhaps a use-case would exist in which you want to control the consumption per partition of just a few partitions and the remaining partitions could be consumed via the callback. So I would say it's an odd, but desired behavior. I'm actually now sure if this will function correctly... I'll do a test to see what happens. |
@everhardt it indeed results in data loss. When the consume per partition starts after a timeout of 1s. All the messages in the partition (50) are already consumed by the regular .consume queue. This can be seen in the Perhaps i can see if can create a consumer configuration which disables the forwarding to the general queue for all partitions. Something like this:
|
Pull request checklist: