Skip to content

fix: Increment ack generation id#203

Merged
dpcollins-google merged 2 commits into
googleapis:masterfrom
tmdiep:fix_single_subscriber
Aug 4, 2021
Merged

fix: Increment ack generation id#203
dpcollins-google merged 2 commits into
googleapis:masterfrom
tmdiep:fix_single_subscriber

Conversation

@tmdiep
Copy link
Copy Markdown
Contributor

@tmdiep tmdiep commented Aug 2, 2021

Increment the ack generation id correctly. ++ does not increment in Python.

Also handle duplicate acks.
@tmdiep tmdiep requested review from a team and dpcollins-google August 2, 2021 10:39
@product-auto-label product-auto-label Bot added the api: pubsublite Issues related to the googleapis/python-pubsublite API. label Aug 2, 2021
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 2, 2021
Copy link
Copy Markdown
Contributor

@dpcollins-google dpcollins-google left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ignoring duplicate acks is not correct. The cloud Pub/Sub Library fails on duplicate acks

@tmdiep tmdiep requested a review from dpcollins-google August 3, 2021 21:03
@dpcollins-google dpcollins-google merged commit 644163d into googleapis:master Aug 4, 2021
@tmdiep tmdiep deleted the fix_single_subscriber branch August 6, 2021 00:16
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 googleapis/python-pubsublite API. cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants