Commit 049ef27
committed
Fixes: #3880
Issue link: #3880
Add an documentation on how to correctly inject headers in default
methods of class-level @KafkaListener.
Because currently, The DefaultHandler resolve an incorrect value for the
parameter annotated with @Header. also, the spring-kafka's intended
usage is incompatiable with the design intent of the InvocationHandler,
so spring-kafka cannot resolve this issue.
Therefore, we will add documentation to prevent users from becoming
confused.
Signed-off-by: Sanghyeok An <[email protected]>
1 parent 6682837 commit 049ef27
File tree
1 file changed
+22
-0
lines changed- spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/receiving-messages
1 file changed
+22
-0
lines changedLines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
0 commit comments