GeezerVison is showing github.com — Pubsub receipt print by pongad · Pull Request #2584 · googleapis/google-cloud-java
Conversation
DO NOT SUBMIT: just a PR to add print statements to debug race on travis
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This commit also simplifies acks/nacks logic.
It is accessed from executor threads and must to synced
to guarantee property updates are observed.
If the user code throws an exception, we catch this exception and nack
the message.
This logic cannot be tested correctly.
The test uses a MessageReceiver that can notify us that messages
have been processed, so that we can "advanceTime".
The receiver can only notify us that it's throwing an exception BEFORE
the exception is actually thrown out of the method.
(Even with finally-clause, the statements in the clause runs before
the giving control back to the caller.)
Consequently, we're notifying too soon: the message has not been
processed yet as the exception might not have been caught.
chingor13
pushed a commit
that referenced
this pull request
Feb 20, 2026
…#2584)
* chore: Update generation configuration at Sat Jul 27 02:14:58 UTC 2024
* chore: generate libraries at Sat Jul 27 02:15:20 UTC 2024
* chore: Update generation configuration at Tue Jul 30 02:16:00 UTC 2024
* Add missing @ObsoleteApi to non-autogenerated classes
* chore: Update generation configuration at Wed Jul 31 02:04:11 UTC 2024
* chore: Update generation configuration at Thu Aug 1 02:19:59 UTC 2024
* Add the incorrectly deleted file RequestProfilerTest.java back
* chore: generate libraries at Thu Aug 1 13:53:07 UTC 2024
---------
Co-authored-by: PhongChuong <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
cla: yes
This human has signed the Contributor License Agreement.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.