[jira] [Created] (APEXCORE-816) Update Apache Apex Core to use Kryo version 4

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (APEXCORE-816) Update Apache Apex Core to use Kryo version 4

JIRA jira@apache.org
M. Aaron Bossert created APEXCORE-816:
-----------------------------------------

             Summary: Update Apache Apex Core to use Kryo version 4
                 Key: APEXCORE-816
                 URL: https://issues.apache.org/jira/browse/APEXCORE-816
             Project: Apache Apex Core
          Issue Type: Bug
    Affects Versions: 3.7.0
            Reporter: M. Aaron Bossert


The default Kryo serializer uses an older version of Kryo (2.X), for use with Java 8 data types such as java.lang.Instant, Kryo 2.X does not support these and causes a fatal exception.  Kryo 4.X includes support for these and other data types.

As suggested by Thomas Weise in response to my questions, there is a simple workaround, which is to use the FieldSerializer.Bind annotation to handle the offending fields in a java object.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)