We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eacaa9 commit e4c1015Copy full SHA for e4c1015
spring-kafka-docs/src/main/asciidoc/whats-new.adoc
@@ -87,3 +87,14 @@ See <<replying-template>> and <<exchanging-messages>>.
87
88
You can now use a custom correlation header which will be echoed in any reply message.
89
See the note at the end of <<replying-template>> for more information.
90
+
91
+[[x30-headers]]
92
+==== `KafkaHeaders` Changes
93
94
+Four constants in `KafkaHeaders` that were deprecated in 2.9.x have now been removed.
95
96
+* Instead of `MESSAGE_KEY`, use `KEY`.
97
98
+* Instead of `PARTITION_ID`, use `PARTITION`
99
100
+Similarly, `RECEIVED_MESSAGE_KEY` is replaced by `RECEIVED_KEY` and `RECEIVED_PARTITION_ID` is replaced by `RECEIVED_PARTITION`.
0 commit comments