dapr / python-sdk

Dapr SDK for Python
Apache License 2.0
222 stars 125 forks source link

POC: Retry with native grpc #678

Closed elena-kolevska closed 2 months ago

elena-kolevska commented 6 months ago

Description

This is one of the possible options we're looking at for implementing retry policies.

gRPC specifies that retry policy definitions should be defined on the service itself and transmitted to the client through the service config mechanism (https://github.com/grpc/proposal/blob/master/A6-client-retries.md). All gRPC clients are supposed to execute the retries, based on the policy.

This PR specifies the retry policy service config on the client. It's a very clean way to do it, with minimal code change, but there's two main drawbacks:

dapr-bot commented 2 months ago

This pull request has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!