Skip to content

Commit 7077f4e

Browse files
Wzy19930507spring-builds
authored andcommitted
Cleaning up retry-topic-lcf.adoc
Fixes: #3084 * Remove `useLegacyFactoryConfigurer` documentation from retry-topic-lcf.adoc (cherry picked from commit 3927d64)
1 parent 157ea43 commit 7077f4e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

spring-kafka-docs/src/main/antora/modules/ROOT/pages/retrytopic/retry-topic-lcf.adoc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,3 @@ public RetryTopicConfiguration myOtherRetryTopic(KafkaTemplate<Integer, MyPojo>
3535

3636
IMPORTANT: Since 2.8.3 you can use the same factory for retryable and non-retryable topics.
3737

38-
If you need to revert the factory configuration behavior to prior 2.8.3, you can override the `configureRetryTopicConfigurer` method of a `@Configuration` class that extends `RetryTopicConfigurationSupport` as explained in xref:retrytopic/retry-config.adoc#retry-topic-global-settings[Configuring Global Settings and Features] and set `useLegacyFactoryConfigurer` to `true`, such as:
39-
40-
[source, java]
41-
----
42-
@Override
43-
protected Consumer<RetryTopicConfigurer> configureRetryTopicConfigurer() {
44-
return rtc -> rtc.useLegacyFactoryConfigurer(true);
45-
}
46-
----
47-

0 commit comments

Comments
 (0)