Skip to content

Commit 98029e3

Browse files
committed
GH-2838: Add What's New? Entry for Previous Commit
1 parent 51980de commit 98029e3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,10 @@ See <<replying-template>>.
5050

5151
In 3.0, the futures returned by this class will be `CompletableFuture` s instead of `ListenableFuture` s.
5252
See <<replying-template>> and <<exchanging-messages>> for assistance in transitioning when using this release.
53+
54+
[[x29-jd]]
55+
=== JsonDeserializer (Since 2.9.13)
56+
57+
When a deserialization exception occurs, the `SerializationException` message no longer contains the data with the form `Can't deserialize data [[123, 34, 98, 97, 122, ...`; an array of numerical values for each data byte is not useful and can be verbose for large data.
58+
When used with an `ErrorHandlingDeserializer`, the `DeserializationException` sent to the error handler contains the `data` property which contains the raw data that could not be deserialized.
59+
When not used with an `ErrorHandlingDeserializer`, the `KafkaConsumer` will continually emit exceptions for the same record showing the topic/partition/offset and the cause thrown by Jackson.

0 commit comments

Comments
 (0)