2. What’s new?

2.1 What’s new in 2.1 Since 2.0

2.1.1 Kafka Client Version

This version requires the 1.0.0 kafka-clients or higher.

2.1.2 JSON Improvements

The StringJsonMessageConverter and JsonSerializer now add type information in Headers, allowing the converter and JsonDeserializer to create specific types on reception, based on the message itself rather than a fixed configured type. See Section 4.1.4, “Serialization/Deserialization and Message Conversion” for more information.

2.1.3 Container Stopping Error Handlers

Container Error handlers are now provided for both record and batch listeners that treat any exceptions thrown by the listener as fatal; they stop the container. See Section 4.1.7, “Handling Exceptions” for more information.