-
-
Notifications
You must be signed in to change notification settings - Fork 527
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
RangeError in consumer group syncGroup response processing for member without assignment #550
Comments
ankon
added a commit
to Collaborne/kafkajs
that referenced
this issue
Nov 7, 2019
FWIW, The reason I'm getting this now is that I changed my assigner to no longer pre-fill the assignments: kafkajs/src/consumer/assigners/roundRobinAssigner/index.js Lines 41 to 43 in 34824cb
|
Nevon
added a commit
that referenced
this issue
Nov 28, 2019
Nevon
added a commit
that referenced
this issue
Nov 29, 2019
The test assigner only returns assignments for the first member of the group, and not the second one. Without #567 the second consumer will crash when trying to decode the missing assignment.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From my logs it seems that at that point this member didn't receive an assignment, so this piece of code fails:
kafkajs/src/consumer/assignerProtocol.js
Line 71 in 34824cb
I think there needs to be a check in any of these places, I'm just not sure which one:
The text was updated successfully, but these errors were encountered: