Skip to content

Commit 9f65a34

Browse files
authored
Fix typo in the doc
Signed-off-by: Artem Bilan <[email protected]>
1 parent b36f81e commit 9f65a34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/annotation-error-handling.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ Exceptions inheriting from `Error` bypass the error handler entirely, causing th
248248
This critical distinction means applications may report healthy status despite having terminated consumers that no longer process messages.
249249
Always ensure that exceptions thrown in message processing code explicitly extend from `RuntimeException` rather than `Error` to allow proper error handling.
250250
In other words, if the application throws an exception, ensure that it is extended from `RuntimeException` and not inadvertently inherited from `Error`.
251-
Standard errors like `OutOfMemoryError`, `IllegalAccessError`, and other errors beyond the control of the application are still treated as `Error``s and not retried.
251+
Standard errors like `OutOfMemoryError`, `IllegalAccessError`, and other errors beyond the control of the application are still treated as ``Error``s and not retried.
252252

253253
The error handler can be configured with one or more `RetryListener`+++s+++, receiving notifications of retry and recovery progress.
254254
Starting with version 2.8.10, methods for batch listeners were added.

0 commit comments

Comments
 (0)