Skip to content

Commit f53d41b

Browse files
committed
GH-2208: Add Paragraph to Doc
1 parent 34c5619 commit f53d41b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,8 @@ This might be used, for example, to access the consumer metrics in the intercept
10331033

10341034
IMPORTANT: You should not execute any methods that affect the consumer's positions and or committed offsets in these interceptors; the container needs to manage such information.
10351035

1036+
IMPORTANT: If the interceptor mutates the record (by creating a new one), the `topic`, `partition`, and `offset` must remain the same to avoid unexpected side effects such as record loss.
1037+
10361038
The `CompositeRecordInterceptor` and `CompositeBatchInterceptor` can be used to invoke multiple interceptors.
10371039

10381040
By default, starting with version 2.8, when using transactions, the interceptor is invoked before the transaction has started.

0 commit comments

Comments
 (0)