From 01f2eacca74e8dcfb1e1c015367d97705a75688a Mon Sep 17 00:00:00 2001 From: Wzy19930507 <1208931582@qq.com> Date: Mon, 26 Feb 2024 15:58:30 +0800 Subject: [PATCH] Remove retry-topic-lcf.adoc introduce useLegacyFactoryConfigurer --- .../modules/ROOT/pages/retrytopic/retry-topic-lcf.adoc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/spring-kafka-docs/src/main/antora/modules/ROOT/pages/retrytopic/retry-topic-lcf.adoc b/spring-kafka-docs/src/main/antora/modules/ROOT/pages/retrytopic/retry-topic-lcf.adoc index 75ef37e208..72e31bf304 100644 --- a/spring-kafka-docs/src/main/antora/modules/ROOT/pages/retrytopic/retry-topic-lcf.adoc +++ b/spring-kafka-docs/src/main/antora/modules/ROOT/pages/retrytopic/retry-topic-lcf.adoc @@ -35,13 +35,3 @@ public RetryTopicConfiguration myOtherRetryTopic(KafkaTemplate IMPORTANT: Since 2.8.3 you can use the same factory for retryable and non-retryable topics. -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: - -[source, java] ----- -@Override -protected Consumer configureRetryTopicConfigurer() { - return rtc -> rtc.useLegacyFactoryConfigurer(true); -} ----- -