Skip to content

Commit

Permalink
GH-2208: Add Paragraph to Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Apr 5, 2022
1 parent 34c5619 commit f53d41b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spring-kafka-docs/src/main/asciidoc/kafka.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,8 @@ This might be used, for example, to access the consumer metrics in the intercept

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.

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.

The `CompositeRecordInterceptor` and `CompositeBatchInterceptor` can be used to invoke multiple interceptors.

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

0 comments on commit f53d41b

Please sign in to comment.