Handling TaskCanceledException when HttpClient times out
I'm trying to use Microsoft.Extensions.Http.Polly policy handler for retries when TaskCanceledException or http transient errors, but it's not working properly.I wrote the minimal API below just for...
View ArticleImplementing retry logic in node-fetch api call
I hope you will forgive the beginners question, I'm trying to implement a simple retry policy for an api call using node-fetchThis is being added to an existing repo using TypeScript so I'm using this...
View ArticleRabbitMQ message still retries after throwing AmqpRejectAndDontRequeueException
I have a simple Spring Boot application where I have the following settings for RabbitMQ (spring-boot-starter-amqp version is 2.7.0):spring: rabbitmq: host: localhost port: 5672 virtual-host: my_host...
View ArticleCustom Exception handler after max retry attempts for resilience4j-retry...
Kinda what the title says, I have a method with @Retry on it and a retry configuration. However I am not able to find a way to do a custom error method to default to once all retry attempts are...
View ArticleDefaultErrorHandler is not configurable If @RetryableTopic used for retry and...
Spring boot version : 2.7.6Spring kafka version : 2.8.11Issue:I was trying to handle the deserialization issues in code. To handle such issues in code, I created my own class by...
View ArticlePython requests retry adapter with multiple sequential requests
I have a class CustomSession. It behaves the same way as requests.Session, except calling the request method of this new class first makes a preliminary request prelim_request first using some...
View ArticleHow to use exponential back-off logic in Azure device client?
I have a job in c# which runs every 5 minutes and acts like a heartbeat to check the client statusWhen the status is Disconnected_Retrying, I exit the timer job assuming built in retry logic will work....
View ArticleJenkins status when retry function is used during automation test
I am using retry listener in one of my test repository, which is running everyday.In the jenkins we are using TestNG Result plugin 835.v51In the picture you can see that all test have passed and only 1...
View ArticleGoogle Cloud - Set default retry for Cloud function in cloudbuild
I want to know if there's a way to configure the "Retry on failure" trigger policy directly in the Cloud Function's yaml.As for now I found docs about Workflows or to simply flag it from the UI (which...
View ArticlePolly v8 retry with Azure Service Bus and 3rd party API
I'd like to kindly ask for help with implementing retry strategy using Polly v8 in combination with Azure Service Bus and 3rd party API.SetupMessages are received from an ASB subscription. The...
View ArticleLeveraging AddStandardResilienceHandler and AddStandardHedgingHandler in .NET...
I have a .NET 8 API using Polly for resiliency with external services like Azure SQL and Microsoft Graph. My current implementation uses custom retry and circuit breaker policies as shown...
View ArticleUsing StepVerifier.withVirtualTime for a WebClient request using exponential...
I have the following method I am trying to test (simplified version, but problem is reproducible): protected Mono<String> executeRequest(String url) { return webClient.method(HttpMethod.GET)...
View ArticleRetry Policy to Not Trigger For POST Requests
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...
View ArticleProcessing messages again with a delay and N number of times. How...
I want to have two queues: main and dead. In the main queue, messages arrive for processing; they will be sent to the dead after N number of processing attempts, which I consider using the...
View ArticleHow to write retry policy in Contentful .net when the api rate limiting occurs?
I have the following code which calls contentful cms. This is the code called by my webhook. So now since I'm new to this retry mechanism in C#.How to achieve retry when the rate limiting error occurs...
View ArticleCallback message printing not working as intended with retry logic
I am trying to make a program that does the following:Processes a list of items.Each item is processed by a dedicated function.Each function call is wrapped in a with_retries block function.Display...
View Articlegrpc-dotnet retry with Polly even if connection could not be established...
Why is not called Polly policy http message handler when connection could not be established?I would like to retry even if connection could not be established, the service might be restarting when I'm...
View ArticleIn python How to unit test a tenacity library retry
I have a function with tenacity library retry@retry(stop=stop_after_attempt(3))def func(): passHow do I unit test that the retry will execute 3 times?Thanks
View ArticleRollback during Dataload Failure ADF
Today we had an error on STAGE when receiving an order - due to a “lost connection”.My idea was then to set this “repeat” to 3:Please see the screenshotNow the question is, what happens if it has...
View Articlespring-kafka 2.7.0 | Using @RetryableTopic causing listener to go into...
spring-kafka 2.7.0Using @RetryableTopic causing listener to go into infinite loop when exception occursRetry logic is working as it should. But they seem to be reading the same message infinitely while...
View Article