Skip to content

Commit

Permalink
GH-2838: Add What's New? Entry for Previous Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Oct 11, 2023
1 parent 51980de commit 98029e3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spring-kafka-docs/src/main/asciidoc/whats-new.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,10 @@ See <<replying-template>>.

In 3.0, the futures returned by this class will be `CompletableFuture` s instead of `ListenableFuture` s.
See <<replying-template>> and <<exchanging-messages>> for assistance in transitioning when using this release.

[[x29-jd]]
=== JsonDeserializer (Since 2.9.13)

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.
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.
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 comments on commit 98029e3

Please sign in to comment.