Is it possible to configure the resiliency policy in Dapr to not perform a retry when the HTTP request is POST? The Polly library in .NET, for example, allows fine-grained configuration of retry and circuit breaker policies. Is it possible to do the same in Dapr?
apiVersion: dapr.io/v1alpha1
kind: Resiliency
metadata:
name: resiliency-policy
scopes:
- shoppingbasket
spec:
policies:
retries:
operation:
policy: constant
duration: 5s
maxRetries: 3
circuitBreakers:
serviceCB:
maxRequests: 1
timeout: 30s
trip: consecutiveFailures >= 3
targets:
apps:
discount:
retry: operation
circuitBreaker: serviceCB