From c2912f1852e8c9e79b7d72200e38f6a1b2fa1c3b Mon Sep 17 00:00:00 2001 From: "Gyeongwon, Do" Date: Wed, 10 May 2023 22:47:10 +0900 Subject: [PATCH] replace `.methodName()` with `methodName()` in documentation (#2680) --- spring-kafka-docs/src/main/asciidoc/kafka.adoc | 4 ++-- spring-kafka-docs/src/main/asciidoc/retrytopic.adoc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-kafka-docs/src/main/asciidoc/kafka.adoc b/spring-kafka-docs/src/main/asciidoc/kafka.adoc index 84de44cbf6..b3e5c2f64f 100644 --- a/spring-kafka-docs/src/main/asciidoc/kafka.adoc +++ b/spring-kafka-docs/src/main/asciidoc/kafka.adoc @@ -89,7 +89,7 @@ include::{kotlin-examples}/topics/Config.kt[tag=topicBeans] ---- ==== -Starting with version 2.6, you can omit `.partitions()` and/or `replicas()` and the broker defaults will be applied to those properties. +Starting with version 2.6, you can omit `partitions()` and/or `replicas()` and the broker defaults will be applied to those properties. The broker version must be at least 2.4.0 to support this feature - see https://cwiki.apache.org/confluence/display/KAFKA/KIP-464%3A+Defaults+for+AdminClient%23createTopic[KIP-464]. ==== @@ -211,7 +211,7 @@ interface ProducerCallback { See the https://docs.spring.io/spring-kafka/api/org/springframework/kafka/core/KafkaTemplate.html[Javadoc] for more detail. IMPORTANT: In version 3.0, the methods that previously returned `ListenableFuture` have been changed to return `CompletableFuture`. -To facilitate the migration, the 2.9 version added a method `.usingCompletableFuture()` which provided the same methods with `CompletableFuture` return types; this method is no longer available. +To facilitate the migration, the 2.9 version added a method `usingCompletableFuture()` which provided the same methods with `CompletableFuture` return types; this method is no longer available. The `sendDefault` API requires that a default topic has been provided to the template. diff --git a/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc b/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc index 6a00d0137e..c28cd3de35 100644 --- a/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc +++ b/spring-kafka-docs/src/main/asciidoc/retrytopic.adoc @@ -970,7 +970,7 @@ NOTE: If no DLT handler is provided, the default RetryTopicConfigurer.LoggingDlt Starting with version 2.8, if you don't want to consume from the DLT in this application at all, including by the default handler (or you wish to defer consumption), you can control whether or not the DLT container starts, independent of the container factory's `autoStartup` property. -When using the `@RetryableTopic` annotation, set the `autoStartDltHandler` property to `false`; when using the configuration builder, use `.autoStartDltHandler(false)` . +When using the `@RetryableTopic` annotation, set the `autoStartDltHandler` property to `false`; when using the configuration builder, use `autoStartDltHandler(false)` . You can later start the DLT handler via the `KafkaListenerEndpointRegistry`.