Skip to content

Clear cached offset when seeking to default #431

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

Merged
merged 1 commit into from
Oct 16, 2017
Merged

Conversation

dasch
Copy link
Contributor

@dasch dasch commented Oct 16, 2017

When an invalid offset error was returned, we would seek the partition to the cached offset for the partition's default offset (latest/first). This change clears the cache entry beforehand so that we'll get the offset from the broker.

When an invalid offset error was returned, we would seek the partition
to the cached offset for the partition's default offset (latest/first).
This change clears the cache entry beforehand so that we'll get the
offset from the broker.
@dasch dasch force-pushed the dasch/fix-offset-cache branch from 9fffbf9 to 554f71d Compare October 16, 2017 15:28
@dasch dasch merged commit 08870b6 into master Oct 16, 2017
@dasch dasch deleted the dasch/fix-offset-cache branch October 16, 2017 16:45
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.

1 participant