Skip to content
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

Create empty topic partition list for callback if needed #407

Merged
merged 1 commit into from
Nov 26, 2021

Conversation

thijsc
Copy link
Collaborator

@thijsc thijsc commented Nov 25, 2021

We've seen a case where the offsets pointer in the commit callback was null. Check for this state and pass an empty topic partiton list into the callback if it happens.

Fixes #406

@thijsc thijsc added the bug label Nov 25, 2021
@thijsc thijsc self-assigned this Nov 25, 2021
@thijsc thijsc force-pushed the empty_offsets_in_callback branch 2 times, most recently from 85f2a78 to 69de870 Compare November 25, 2021 13:25
We've seen a case where the offsets pointer in the commit callback was
null. Check for this state and pass an empty topic partiton list into
the callback if it happens.
@thijsc thijsc force-pushed the empty_offsets_in_callback branch from 69de870 to 9c9a697 Compare November 26, 2021 13:18
@thijsc thijsc requested a review from benesch November 26, 2021 13:18
@benesch
Copy link
Collaborator

benesch commented Nov 26, 2021

Thanks! LGTM.

@benesch benesch merged commit 51ef787 into fede1024:master Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Topic partition list pointer can return none
2 participants