Flink 1.7.1 uses Kryo version 2.24.0

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Flink 1.7.1 uses Kryo version 2.24.0

anaray
Hi ,
Flink 1.7 still uses kryo-2.24.0. Is there any specific reason for not
upgrading kryo?

Thanks,




--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Flink 1.7.1 uses Kryo version 2.24.0

Tzu-Li (Gordon) Tai
Hi,

Currently Flink uses Kryo as the default serializer for data types that Flink's type serialization stack doesn't support [1].
This also includes serializers being used for managed state registered by users.

Because of this, at the moment it's not easy to upgrade the Kryo version, since it is known to be binary incompatible across major versions [2].
Therefore, upgrading Kryo would also mean we would be breaking backwards compatibility for Flink's savepoints between Flink minor version releases [3], which is something the community decided to maintain as part of Flink's backward compatibility policy.

Cheers,
Gordon

[1]  https://ci.apache.org/projects/flink/flink-docs-master/dev/types_serialization.html#flinks-typeinformation-class  
[2]  https://github.com/EsotericSoftware/kryo#kryo-versioning-and-upgrading  
[3]  https://ci.apache.org/projects/flink/flink-docs-master/ops/upgrading.html#compatibility-table  


On Sat, Mar 16, 2019 at 4:55 AM anaray <[hidden email]> wrote:
Hi ,
Flink 1.7 still uses kryo-2.24.0. Is there any specific reason for not
upgrading kryo?

Thanks,




--
Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/