Skip to content

Commit 7e576d4

Browse files
committed
GH-2496: Doc Polishing for Deprecations
1 parent 23c90c5 commit 7e576d4

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

spring-kafka-docs/src/main/asciidoc/retrytopic.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ NOTE: The default behavior is to suffix with the delay values, except for fixed
735735
If you're using fixed delay policies such as `FixedBackOffPolicy` or `NoBackOffPolicy` you can use a single topic to accomplish the non-blocking retries.
736736
This topic will be suffixed with the provided or default suffix, and will not have either the index or the delay values appended.
737737

738-
NOTE: `FixedDelayStrategy` is now deprecated, and will be replaced by `SameIntervalTopicReuseStrategy` in a future release.
738+
NOTE: The previous `FixedDelayStrategy` is now deprecated, and can be replaced by `SameIntervalTopicReuseStrategy`.
739739

740740
====
741741
[source, java]

spring-kafka/src/main/java/org/springframework/kafka/retrytopic/RetryTopicConfigurationBuilder.java

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -261,18 +261,15 @@ public RetryTopicConfigurationBuilder sameIntervalTopicReuseStrategy(SameInterva
261261
}
262262

263263
/**
264-
* Configure the use of a single retry topic
265-
* for the attempts that have the same backoff interval
266-
* (as long as these attempts are in the end of the chain).
264+
* Configure the use of a single retry topic for the attempts that have the same
265+
* backoff interval (as long as these attempts are in the end of the chain).
267266
*
268-
* Currently used only for the last retries of exponential backoff,
269-
* and in a future release this will dictate whether to use
270-
* a single retry topic for fixed backoff.
267+
* Used for the last retries of exponential backoff (when a {@code maxDelay} is
268+
* provided), and to use a single retry topic for fixed backoff.
271269
*
272270
* @return the builder.
273271
* @since 3.0.4
274272
* @see SameIntervalTopicReuseStrategy
275-
*
276273
*/
277274
public RetryTopicConfigurationBuilder useSingleTopicForSameIntervals() {
278275
this.sameIntervalTopicReuseStrategy = SameIntervalTopicReuseStrategy.SINGLE_TOPIC;

0 commit comments

Comments
 (0)