Skip to content

Commit c2912f1

Browse files
authored
replace .methodName() with methodName() in documentation (#2680)
1 parent 3b01a79 commit c2912f1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ include::{kotlin-examples}/topics/Config.kt[tag=topicBeans]
8989
----
9090
====
9191

92-
Starting with version 2.6, you can omit `.partitions()` and/or `replicas()` and the broker defaults will be applied to those properties.
92+
Starting with version 2.6, you can omit `partitions()` and/or `replicas()` and the broker defaults will be applied to those properties.
9393
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].
9494

9595
====
@@ -211,7 +211,7 @@ interface ProducerCallback<K, V, T> {
211211
See the https://docs.spring.io/spring-kafka/api/org/springframework/kafka/core/KafkaTemplate.html[Javadoc] for more detail.
212212

213213
IMPORTANT: In version 3.0, the methods that previously returned `ListenableFuture` have been changed to return `CompletableFuture`.
214-
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.
214+
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.
215215

216216
The `sendDefault` API requires that a default topic has been provided to the template.
217217

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ NOTE: If no DLT handler is provided, the default RetryTopicConfigurer.LoggingDlt
970970

971971
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.
972972

973-
When using the `@RetryableTopic` annotation, set the `autoStartDltHandler` property to `false`; when using the configuration builder, use `.autoStartDltHandler(false)` .
973+
When using the `@RetryableTopic` annotation, set the `autoStartDltHandler` property to `false`; when using the configuration builder, use `autoStartDltHandler(false)` .
974974

975975
You can later start the DLT handler via the `KafkaListenerEndpointRegistry`.
976976

0 commit comments

Comments
 (0)