[jira] [Created] (FLINK-6857) Add global default Kryo serializer configuration to StreamExecutionEnvironment

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

[jira] [Created] (FLINK-6857) Add global default Kryo serializer configuration to StreamExecutionEnvironment

JIRA jira@apache.org
Tzu-Li (Gordon) Tai created FLINK-6857:
------------------------------------------

             Summary: Add global default Kryo serializer configuration to StreamExecutionEnvironment
                 Key: FLINK-6857
                 URL: https://issues.apache.org/jira/browse/FLINK-6857
             Project: Flink
          Issue Type: Improvement
          Components: Configuration, Type Serialization System
            Reporter: Tzu-Li (Gordon) Tai


See ML for original discussion: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/KryoException-Encountered-unregistered-class-ID-td13476.html.

We should have an additional {{setDefaultKryoSerializer}} method that allows overriding the global default serializer, without the need to specify a class (out-of-the-box Kryo uses the {{FieldSerializer}} if no matches for default serializer settings can be found for a class). Internally in Flink's {{KryoSerializer}}, this would only be a matter of setting that configured global default serializer for Kryo by calling {{Kryo.setDefaultSerializer(...)}} on the created Kryo instance.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
Loading...