Skip to content

Commit bfcf3b7

Browse files
committed
GH-2838: What's New? Entry for Previous Commit
1 parent 9d76bde commit bfcf3b7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spring-kafka-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc

+7
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,10 @@ This version requires the 3.5.1 `kafka-clients`.
1717

1818
An additional implementation is now provided to use `Kraft` instead of Zookeeper.
1919
See <<ekb>> for more information.
20+
21+
[[x31-jd]]
22+
=== JsonDeserializer
23+
24+
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.
25+
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.
26+
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)