-
Notifications
You must be signed in to change notification settings - Fork 141
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
Fetch consumer group metadate after a rebalance #1470
Comments
the given method |
It depends on what they mean by 'if consumer does not have a group'. We already do not call the method when no group id is configured. Is that sufficient? |
I read a bit more. So, also, when users don't want to store offsets on kafka, they might not configure consumer groups. If the Runloop is not crashing because consumer group metadata is None while we received the current event, and we still process the current record/event successfully, it feels safe to make the change. |
We're going to make release candidates for zio-kafka 3. We could make the change for the release candidate. Then when no-one complains we can keep it :) |
okay I will submit a PR |
Simplify `Runloop` by fetching consumer group metadata directly after the rebalance. Fixes #1470.
As discussed in #1464 (comment) we can simplify the code that fetches consumer group metadata by fetching it immediately after a rebalance. However, we first need to explore why errors from the call to
consumer.groupMetadata()
are suppressed, and whether it makes sense to keep retrying after a failure.This issue is done when:
consumer.groupMetadata()
consumer.groupMetadata()
is uselessThe text was updated successfully, but these errors were encountered: