-
Notifications
You must be signed in to change notification settings - Fork 227
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: add support for exactly once subscriptions #1572
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
product-auto-label
bot
added
size: s
Pull request size is small.
api: pubsub
Issues related to the googleapis/nodejs-pubsub API.
labels
May 31, 2022
feywind
added
the
do not merge
Indicates a pull request not ready for merge, due to either quality or timing.
label
May 31, 2022
feywind
force-pushed
the
exactly-once-main
branch
from
May 31, 2022 20:06
0ca513a
to
179b617
Compare
product-auto-label
bot
added
size: u
Pull request is empty.
and removed
size: s
Pull request size is small.
labels
May 31, 2022
This partially reverts commit 0ca513a.
* feat: add 'with response' methods for acks, and save the response promises * chore: fix slightly broken rebase * chore: remove extra comment * tests: update to bring mocks in line with current real code * fix: also reject Promises on failure, and add tests
* feat: add 'with response' methods for acks, and save the response promises * chore: fix slightly broken rebase * chore: remove extra comment * tests: update to bring mocks in line with current real code * fix: also reject Promises on failure, and add tests * feat: add processAckError to parse ErrorInfo * fix: add unit tests and fix some found bugs
feywind
added
owlbot:run
Add this label to trigger the Owlbot post processor.
and removed
do not merge
Indicates a pull request not ready for merge, due to either quality or timing.
labels
Sep 14, 2022
gcf-owl-bot
bot
removed
the
owlbot:run
Add this label to trigger the Owlbot post processor.
label
Sep 14, 2022
Warning: This pull request is touching the following templated files:
|
I'm tracking review changes over here: #1624 |
…ery (#1624) * chore: add 'delivery' to 'exactly once' * samples: also update sample names * chore: more 'delivery' * samples: delete renamed js samples * fix: disable automatic gax retries on ack/modAck for EOS * fix: also close out pending ack/modAck retries on subscriber close * docs: better comments about what happens in failure cases * docs: rename setAckDeadline to setStreamAckDeadline * fix: improve comments on Message.ack/modAck/nack, and short-circuit the non-EOS case * samples: add info about what happens when calling ackWithResponse with a non-EOS sub * samples: also update js * docs: remove extraneous sample links
feywind
added
the
owlbot:run
Add this label to trigger the Owlbot post processor.
label
Sep 21, 2022
gcf-owl-bot
bot
removed
the
owlbot:run
Add this label to trigger the Owlbot post processor.
label
Sep 21, 2022
maheshgattani
approved these changes
Sep 22, 2022
feywind
added
automerge
Merge the pull request once unit tests and other checks pass.
owlbot:run
Add this label to trigger the Owlbot post processor.
labels
Sep 22, 2022
gcf-owl-bot
bot
removed
the
owlbot:run
Add this label to trigger the Owlbot post processor.
label
Sep 22, 2022
gcf-merge-on-green
bot
removed
the
automerge
Merge the pull request once unit tests and other checks pass.
label
Sep 22, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
api: pubsub
Issues related to the googleapis/nodejs-pubsub API.
size: xl
Pull request size is extra large.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds support for exactly-once delivery subscriptions. Please see the samples for information on how to interact with exactly-once subscriptions properly (specifically, using the
*WithResponse()
methods).Other client library folks - Mahesh needs to review this, so please don't merge until that happens.
Fixes #1571 🦕