Switch to single topic for same intervals in Spring Kafka retry config
See gh-34504
This commit is contained in:
parent
74e263e9e2
commit
4abf6f95ae
|
@ -162,7 +162,7 @@ public class KafkaAutoConfiguration {
|
|||
KafkaProperties.Retry.Topic retryTopic = this.properties.getRetry().getTopic();
|
||||
RetryTopicConfigurationBuilder builder = RetryTopicConfigurationBuilder.newInstance()
|
||||
.maxAttempts(retryTopic.getAttempts())
|
||||
.useSingleTopicForFixedDelays()
|
||||
.useSingleTopicForSameIntervals()
|
||||
.suffixTopicsWithIndexValues()
|
||||
.doNotAutoCreateRetryTopics();
|
||||
setBackOffPolicy(builder, retryTopic);
|
||||
|
|
Loading…
Reference in New Issue