Skip to content

Commit 9d5f1de

Browse files
committed
GH-2838: Add What's New? Entry for Previous Commit
1 parent 7935a97 commit 9d5f1de

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

+7
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,10 @@ Version 3.0.7 introduced a `MockConsumerFactory` and `MockProducerFactory`.
109109
See <<mock-cons-prod>> for more information.
110110

111111
Starting with version 3.0.10, the embedded Kafka broker, by default, sets the Spring Boot property `spring.kafka.bootstrap-servers` to the address(es) of the embedded broker(s).
112+
113+
[[x30-jd]]
114+
=== JsonDeserializer (Since 3.0.12)
115+
116+
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.
117+
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.
118+
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)