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

feat(pubsublite): flush and reset committer #4143

Merged
merged 6 commits into from May 26, 2021

Conversation

tmdiep
Copy link
Contributor

@tmdiep tmdiep commented May 21, 2021

Preparation for admin seek.

  • Adds ackTracker.Reset() and commitCursorTracker.Reset() to reset these trackers to their initial state.
  • Adds committer.BlockingReset(), which flushes pending commits to the server and then resets the state of the committer.

@tmdiep tmdiep requested review from a team as code owners May 21, 2021 06:24
@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label May 21, 2021
@product-auto-label product-auto-label bot added the api: pubsublite Issues related to the Pub/Sub Lite API. label May 21, 2021
@tmdiep tmdiep merged commit 0ecd732 into googleapis:master May 26, 2021
@tmdiep tmdiep deleted the seek_committer branch May 26, 2021 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsublite Issues related to the Pub/Sub Lite API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants