Skip to content

Conversation

@pradn
Copy link
Contributor

@pradn pradn commented Mar 8, 2022

We need to do this because only UNAVAILABLE is retried for acks/modacks/nacks at the GRPC level. With this CL, we extend the higher-level, manual retry mechanism for these RPCs to all the ones considered temporary for the Publish RPC. The new list of retriable codes is for these RPCs when exactly-once delivery is enabled is: DEADLINE_EXCEEDED, RESOURCE_EXHAUSTED, ABORTED, INTERNAL, UNAVAILABLE.

@pradn pradn requested review from a team as code owners March 8, 2022 19:39
@product-auto-label product-auto-label bot added the api: pubsub Issues related to the googleapis/python-pubsub API. label Mar 8, 2022
@pradn pradn requested review from acocuzzo and maheshgattani March 8, 2022 19:40
Copy link
Contributor Author

@pradn pradn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finished addressing Mike and Tianzi's comments.

@anguillanneuf anguillanneuf self-requested a review March 8, 2022 21:08
@anguillanneuf
Copy link
Contributor

Lint errors will go away after you run nox -s blacken.

Copy link

@mmicatka mmicatka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pradn pradn merged commit a91bed8 into googleapis:main Mar 8, 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/python-pubsub API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants