-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Pub/Sub: Update Publish Retry Settings in Sample #6258
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
Conversation
|
Why 1.3 for retryDelayMultiplier? I don't have any particular reason why this is good or bad, just seems arbitrary. |
|
@kir-titievsky 1.3 does seem arbitrary. It comes from the client lib which we updated yesterday. Lines 572 to 590 in 299f5bb
|
Codecov Report
@@ Coverage Diff @@
## master #6258 +/- ##
============================================
+ Coverage 46.81% 47.1% +0.28%
Complexity 27375 27375
============================================
Files 2524 2524
Lines 277466 277600 +134
Branches 31147 31983 +836
============================================
+ Hits 129907 130770 +863
- Misses 136980 137055 +75
+ Partials 10579 9775 -804
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, something went wrong.
Setting
initialRpcTimeout == maxRpcTimeout == totalTimeouteffectively turns off publish retry.google-cloud-java/google-cloud-examples/src/main/java/com/google/cloud/examples/pubsub/snippets/PublisherSnippets.java
Lines 116 to 131 in 55d95d2
This PR updates the defaults in the code sample and addresses #6254.