-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
OnPartitionsAssigned called twice for the same partitions #705
Comments
Probably related to #658 |
Are you able to reliably reproduce this?
…On Thu, Apr 11, 2024 at 11:30, Ilya Moskalev ***@***.***(mailto:On Thu, Apr 11, 2024 at 11:30, Ilya Moskalev <<a href=)> wrote:
Probably related to [#658](#658)
—
Reply to this email directly, [view it on GitHub](#705 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AAJZIJNHEUZLLF5J6FLIAXLY43CCBAVCNFSM6AAAAABGCW3S3KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJQGE3TCNBSGA).
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
@twmb Unfortunately not |
I'll try to stare at this a bit, sooner than later. I haven't had time recently and, when I have, have been prioritizing some of my own fun for once. But, ... I'll try, soon. |
Now that I finally got to looking at this, the problem is pretty clear. This is hitting some code added for #98, specifically this function: franz-go/pkg/kgo/consumer_group.go Lines 1470 to 1532 in 2bc29e6
The fix is pretty straightforward, I'll fix this in the next release (which I hope finally to be quite soon). |
@twmb Thank you so much for looking into this and identifying the issue! It's great to hear that there's a clear path to a fix. I'll be looking forward to the next release for the resolution. Your help is greatly appreciated! |
Hi!
I've encountered an issue when OnPartitionsAssigned called twice with the same set of partitions.
Here are franz logs with my comments (read from bottom to top):
The problem is that sometimes after reballance
OnPartitionsAssigned({"pb_metering_resource":[4,7,10,11]})
is called twice in a row.I'll be very appreciated for help.
franz version: v1.15.2
client initialisation:
The text was updated successfully, but these errors were encountered: