Skip to content

Conversation

@h2jinee
Copy link

@h2jinee h2jinee commented Jan 9, 2026

Fixes #3706

Summary

Align the default sameIntervalTopicReuseStrategy in RetryTopicConfigurationBuilder with @RetryableTopic annotation (both now default to SINGLE_TOPIC).

Changes

  • Change default from MULTIPLE_TOPICS to SINGLE_TOPIC in RetryTopicConfigurationBuilder
  • Update topic-naming.adoc to reflect new default behavior
  • Add migration guide in whats-new.adoc
  • Update tests to explicitly use MULTIPLE_TOPICS where needed

Migration

To restore previous behavior:

RetryTopicConfigurationBuilder
    .newInstance()
    .sameIntervalTopicReuseStrategy(SameIntervalTopicReuseStrategy.MULTIPLE_TOPICS)
    .create(template);

…with @RetryableTopic

Fixes spring-projectsGH-3706 (spring-projects#3706)

* change default sameIntervalTopicReuseStrategy from MULTIPLE_TOPICS to SINGLE_TOPIC
* update topic-naming.adoc to reflect new default behavior
* add migration guide in whats-new.adoc
* update tests to explicitly use MULTIPLE_TOPICS where needed

Signed-off-by: h2jinee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align default behavior of @RetryableTopic and RetryTopicConfigurationBuilder with documentation

1 participant