-
Notifications
You must be signed in to change notification settings - Fork 214
feat: exactly-once delivery support #550
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
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
ed5d6e5
Exactly-once changes
pradn e35de42
rename retry duration constants
pradn 23504c8
add grpc-status dependency
pradn 0a33f37
change dep from grpc-status to grpcio-status per error message during…
pradn 0b6db2e
run lint formatter
pradn ccbd066
loosen version requirement for grpcio-status dependency to fix build
pradn bd21fad
rerun formatter with new version of black to fix lint error
pradn a6ab8ef
Add receive_messages_with_exactly_once_subscribe sample.
pradn fd73015
Return new AcknowledgeError exception type for ack/modack failures. T…
pradn 349de40
Modify exactly-once subscribe sample to use new AcknowledgeError exce…
pradn 71cb780
Fix formatting for google/cloud/pubsub_v1/subscriber/exceptions.py
pradn 77ce3ef
Address Mahesh's comments
pradn f6f5d8e
Rename AcknowledgeErrorCode to AcknowledgeStatus bc it includes SUCCESS.
pradn f35573a
Retry leasing modack failures if exactly-once is enabled. Tests haven…
pradn c8017f7
Address Mahesh's comments
pradn b2e9c4b
Shorten use of AcknowledgeError
pradn 21c1431
Fix tests and code
pradn 08351c2
Fix lint errors
pradn 7ba40e1
Improved test coverage.
pradn 94aa54c
Improve coverage.
pradn 97fc72c
improve coverage for streaming_pull_manager
pradn 1220d0f
Improve code coverage
pradn 57235b9
Reformat files
pradn 10f5a93
More fixes
pradn cdb6340
Improve coverage
pradn 03c8b54
Improve coverage
pradn 8099fde
lint
pradn 7edee1d
Retry on a new thread to avoid blocking the one dispatcher thread.
pradn 6fe7bf8
Remove sample - will be pulled into separate PR.
pradn 1d209c9
Fix type checking errors.
pradn 3facfa5
Address some of Mahesh's comments
pradn c186713
Return AcknowledgeStatus.SUCCESS for _with_response methods if exactl…
pradn 8fb9d56
Get coverage to 100%
pradn 898715b
Add default value to new Message ctor parameter so PubSubLite code do…
pradn 245cdfd
Complete futures when a permanent RetryError is thrown and the Stream…
pradn b1e5d70
Fix lint
pradn 377222b
Fix coverage false positive in test by ignoring it.
pradn a20d48c
Reword some comments with "exactly-once delivery"
pradn 3b390b7
Remove debug print
pradn 9fa28c5
Fix coverage false positive in test by ignoring it.
pradn c4ba9c7
Complete all requests, not just ones with futures
pradn 36fcab9
Better names to reflect them applying to all reqs not just ones with …
pradn 4158315
Improve tests and comments
pradn eddd267
Merge branch 'main' into exactly-once2
pradn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.