Skip to content

Commit d3cfb85

Browse files
committed
Docs: format asciidoc files to one sentence per line
Signed-off-by: 이유리 <[email protected]>
1 parent 9bbd2f2 commit d3cfb85

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
[[retry-config]]
22
= Configuration
33

4-
For the default setup, enable non-blocking retries by adding the `@RetryableTopic` annotation to a `@KafkaListener` method. This is the recommended and simplest approach, as it automatically configures the required retry infrastructure and creates the retry and DLT topics with default settings.
4+
For the default setup, enable non-blocking retries by adding the `@RetryableTopic` annotation to a `@KafkaListener` method.
5+
This is the recommended and simplest approach, as it automatically configures the required retry infrastructure and creates the retry and DLT topics with default settings.
56

6-
To import the non-blocking retry infrastructure and expose its components as beans, annotate a `@Configuration` class with `@EnableKafkaRetryTopic`. This enables injection and runtime lookup of the feature’s components and serves as a foundation for advanced and global configuration.
7+
To import the non-blocking retry infrastructure and expose its components as beans, annotate a `@Configuration` class with `@EnableKafkaRetryTopic`.
8+
This enables injection and runtime lookup of the feature’s components and serves as a foundation for advanced and global configuration.
79

810
NOTE: It is not necessary to also add `@EnableKafka`, if you add this annotation, because `@EnableKafkaRetryTopic` is meta-annotated with `@EnableKafka`.
911

@@ -13,7 +15,11 @@ For more details refer to xref:retrytopic/retry-config.adoc#retry-topic-global-s
1315
By default, the containers for the retry topics will have the same concurrency as the main container.
1416
Starting with version 3.0, you can set a different `concurrency` for the retry containers (either on the annotation, or in `RetryTopicConfigurationBuilder`).
1517

16-
IMPORTANT: Use only one of the two global configuration approaches above (`@EnableKafkaRetryTopic` or extending `RetryTopicConfigurationSupport`). In addition, only one `@Configuration` class should extend `RetryTopicConfigurationSupport`.
18+
[IMPORTANT]
19+
====
20+
Use only one of the two global configuration approaches above (`@EnableKafkaRetryTopic` or extending `RetryTopicConfigurationSupport`).
21+
In addition, only one `@Configuration` class should extend `RetryTopicConfigurationSupport`.
22+
====
1723

1824
[[using-the-retryabletopic-annotation]]
1925
== Using the `@RetryableTopic` annotation

0 commit comments

Comments
 (0)