You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by anaray <an...@gmail.com> on 2019/03/15 20:55:34 UTC

Flink 1.7.1 uses Kryo version 2.24.0

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/

Re: Flink 1.7.1 uses Kryo version 2.24.0

Posted by "Tzu-Li (Gordon) Tai" <tz...@apache.org>.
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 <an...@gmail.com> 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/
>