GeezerVison is showing github.com — feat: add support for exactly once subscriptions by feywind · Pull Request #1572 · googleapis/nodejs-pubsub
This repository was archived by the owner on Oct 21, 2026. It is now read-only.
Conversation
feywind
commented
May 31, 2022
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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 🦕
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
digiz3d reacted with hooray emoji
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
Warning: This pull request is touching the following templated files:
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I'm tracking review changes over here: #1624
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Reviewers
1 more reviewer
Reviewers whose approvals may not affect merge requirements
Uh oh!
There was an error while loading. Please reload this page.
Labels
api: pubsub
Issues related to the googleapis/nodejs-pubsub API.
size: xl
Pull request size is extra large.
Milestone
No milestone
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.
|