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

kgo.Offset: add AtCommitted() #738

Merged
merged 3 commits into from
May 26, 2024
Merged

kgo.Offset: add AtCommitted() #738

merged 3 commits into from
May 26, 2024

Conversation

twmb
Copy link
Owner

@twmb twmb commented May 26, 2024

This adds an Offset method that allows ConsumeResetOffset to exactly
mirror Kafka's auto.offset.reset = none

Closes #692

twmb added 3 commits May 25, 2024 21:48
This adds an Offset method that allows ConsumeResetOffset to exactly
mirror Kafka's auto.offset.reset = none
Previously, if a topic had commits but some partitions in it did not,
then Lag would do the CORRECT thing and show -1 for partitions that did
not have a commit. What was NOT correct was that if an ENTIRE topic had
no commits, then Lag would show the commit as 0.
@twmb twmb added minor and removed minor labels May 26, 2024
@twmb twmb merged commit 128840a into master May 26, 2024
8 checks passed
@twmb twmb deleted the 692 branch May 26, 2024 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clarification NoOffsetReset
1 participant