Provides the base implementation of the retry mechanism for unreliable actions and transient conditions when accessing Sql Azure.
Questions tagged [retrypolicy]
101 questions
1
vote
1 answer
Rebs handler doesnt retry when exception is thrown
I'm using rebus 3.1.5 with rebus.rabbitmq 3.0.0, and rabbitmq.client 4.1.1. I have configured to use simple retry strategy with 2 max delivery attempts. I would like to retry the message in case when an exception is thrown. I don't use the…

Chathuri Gunawardhana
- 171
- 1
- 10
1
vote
2 answers
How do deal with SMTP timeouts
I am sending bulk emails to an corporation exchange server, using a client application written in C#.
It can happen, and it did, that the client application timeout (not the server).
Since there is no way to know if the server completed the…

MiguelSlv
- 14,067
- 15
- 102
- 169
1
vote
2 answers
Best retry policy on data creation response timeout
What is the best retry policy in such a scenario:
Database succeeds in creating the data entry, but then the response takes too long to reach Application. So to carry out the work, Application retries the creation, and of course Database returns an…

Sah
- 1,017
- 2
- 11
- 19
1
vote
1 answer
AWS SQS Retry Multiple times
I am working on a requirement that asks me to call a specific endpoint after a successful to get some data. We achieved that using a SNS topic posted to a SQS queue which in turn calls an endpoint.
SNS -> SQS -> My Endpoint (Process Q Message) ->…

Viki
- 11
- 3
1
vote
1 answer
Where the requests are stored when failsafe circuit-breaker is open?
Where are the requests stored when the failsafe circuit breaker is open?? Does this mean if I restart my application while the circuit is open, I lose all my requests which were supposed to be re-tried? Is there a way to retrieve these messages.

Sabya
- 197
- 4
- 17
1
vote
0 answers
Cassandra Retry Policy for NoHostAvailableException
I'm using the datastax Java cassandra driver (3.0.2) to connect to a cassandra cluster. In case of a NoHostAvailableException i want to retry after some seconds. Is is correct, that none of the predefined policies covers this requirement?
I think i…

itstata
- 1,058
- 7
- 17
1
vote
0 answers
zookeeper Retry policy not work if deploying project to weblogic server
I used Curator to newClient, and set retry policy, but if the connection string is wrong, retry connected will always running until out of memory, but I want the program exit once retry 3 times.
RetryPolicy retryPolicy = new…

michelle
- 165
- 2
- 3
- 13
1
vote
1 answer
Can I trust Azure Blob RetryPolicy? Why I cannot find these retry requests in fiddler
I tried to download a file from an empty blob container, and I got 404 as expected. The question is I see only 1 call for this file in fiddler, instead of 3 (as I specified in the RetryPolicy), also I notice the call finishes within 1 second, so it…

Carol
- 363
- 5
- 16
1
vote
2 answers
Does logic apps support exponential back off with random delta
The logic app documentation here indicates that logic apps support retry policies on http actions using the following "input"
"retryPolicy" : {
"type": "",
"interval": ,
"count":…

Paul
- 1,590
- 5
- 20
- 41
1
vote
0 answers
Volley sending multiple requests
I am using volley library in my android project to interact with the server. However, when the internet connection is slow and the request has been already made, volley retries the request one more time. Although, I have already set…

Abhishek Lodha
- 737
- 2
- 7
- 30
1
vote
0 answers
How to retry with hook in python?
I want to retry my method if some Exception happens, something as follow, maybe do this with decorator is better?
class Processor(object):
def __init__(self, username, password):
self.username = username
self.password = password
…

roger
- 9,063
- 20
- 72
- 119
1
vote
2 answers
Azure scheduled task timeout after 30 seconds
Couldn't find answer to this so any help is welcome. One of my scheduled tasks in Azure runs large reports creation but it's timing out because the scheduler throws a timeout error after 30 seconds, then retries 5 more times! My database is very…

Tarik
- 33
- 3
0
votes
0 answers
How to retry 5 times with intervals of 1, 5, 10, 30, 60 seconds using Spring Retry in Java
For example, the method was called at 12:00:00 but failed.
I like it to retry at 12:00:01, 12:00:06, 12:00:16, 12:00:46, 12:01:46
How could I make it happen using Spring Retry in Java
I tried the following Custom BackOff Policy but it shows error:
…

Pip
- 19
- 3
0
votes
1 answer
How to log retry counts when using Azure SDK retry policy
I have added retry policy to connect blob
BlobClientOptions blobOptions = new BlobClientOptions()
{
Retry =
{
Delay = TimeSpan.FromSeconds(5),
MaxRetries = 5,
…

Sanket Vaidya
- 1
- 1
0
votes
1 answer
Multiple Retries Happening in Kafka
I have used RetryTemplate along with DeadLetterPublishingRecoverer and SeekToCurrentErrorHandler in my Kafka Consumer config but the retries are not stopping and exceeding the limit.
public class KafkaConsumerConfig {
…

Raj Aryan
- 47
- 6