The serializer will compress the payload if the message class implements this
marker interface and the payload is larger than the configured
compress-larger-than
value.
Data migration of old formats to current format can
be implemented in a concrete subclass and configured to
be used by the JacksonJsonSerializer
for a changed class.
Marker interface for messages that are serialized as JSON.
Marker interface for messages that are serialized as JSON.
It extends java.io.Serializable to give it higher priority than JavaSerializer in Akka in case message class implements both interfaces.
Data migration of old formats to current format can be implemented in a concrete subclass and configured to be used by the
JacksonJsonSerializer
for a changed class.It is used when deserializing data of older version than the #currentVersion. You implement the transformation of the JSON structure in the #transform method. If you have changed the class name you should override #transformClassName and return current class name.