We are migrating from spring 5 to 6. I am encountering issues with following methods related to spring-kafka. SetErrorHandler deprecated in favor ...
We are migrating from spring 5 to 6. I am encountering issues with following methods related to spring-kafka. SetErrorHandler deprecated in favor ...
I have a config file that has: and another method in a separate class that has: At the very least it should retry and print this 3 times instead ...
I've implemented an KafkaListener using SpringBoot 2.7.6, Confluent platform and now I need to implement the Error Handler for it. The listener manag ...
Do I really need to define 2 advices over ServiceActivator (RequestHandlerRetryAdvice) if I need to use RetryTemplate (with AlwaysRetryPolicy) and Exp ...
I'm attempting to use org.springframework.retry.annotation.Retryable with an expectation that if a connection reset or timeout happens, the execution ...
In Spring retry's README, they mention how a "stateless retry" is not enough to rollback a transaction, but a stateful retry can by using a Map ? I d ...
Could somebody help with understanding the difference between using @Retryable on metod which contains WebFlux client call and retries that are suppor ...
I am using @Retryable like following where I am retrying a db save function in a service class. I want to tract the retrying. But the retry functions ...
I am trying to write unit tests for a class having spring retry using the springRunner. But my @Autowired beans are null . Could you please let me kno ...
So I have a basic method which already has @Retryable annotation. I recently came across "exceptionExpression" to suppress retry based on some conditi ...
I have a class which has @Retryable annotation added to method with value as custom exception and maxAttempts =2 . Currently this code is retried e ...
I have the following code: Method foo is called from many places. However, I need to refresh request from DB every time exception is happened. How ...
I'm using Retryable and Recover annotation in spring, but the recover method is not triggered after all retry attempts My code: in the application c ...
We have situation and architecture looks like below. RabbitMQQueue -> Spring Boot RabbitMQ Listener -> Service Layer -> (Network call). In ...
Is there a bug in the spring-retry using retryTemplate ? I see that after the maxAttempts are reached, the retryContext should be updated to exhausted ...
I have supplied a bean for retry topic config: @Bean public RetryTopicConfiguration kafkaRetryTopicConfig(...) { return RetryTopicConfigurationBuil ...
Service - 1 Service - 2 Expected : The retry happens three times Actual : The retry is not happening ...
I have to set up Kafka consumers without using annotations. I have something like this: public class MyCustomListener<V> implements MessageList ...
In my project I'm setting SimpleRetryPolicy to add custom exception and RetryOperationsInterceptor which is consuming this policy. But with these c ...
I am using spring-retry v1.3.1 with @Retryable annotation and I have a few questions on its behaviour. Let's say that in my spring boot application I ...