[ 
https://issues.apache.org/jira/browse/FLINK-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15208344#comment-15208344
 ] 

ASF GitHub Bot commented on FLINK-2609:
---------------------------------------

Github user rmetzger commented on a diff in the pull request:

    https://github.com/apache/flink/pull/1833#discussion_r57151588
  
    --- Diff: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/datastream/CoGroupedStreams.java
 ---
    @@ -94,6 +95,7 @@ public CoGroupedStreams(DataStream<T1> input1, 
DataStream<T2> input2) {
         */
        public <KEY> Where<KEY> where(KeySelector<T1, KEY> keySelector)  {
                TypeInformation<KEY> keyType = 
TypeExtractor.getKeySelectorTypes(keySelector, input1.getType());
    +           Serializers.recursivelyRegisterType(keyType, 
input1.getExecutionEnvironment().getConfig(), DataStream.deduplicator);
    --- End diff --
    
    Why is there no check for the auto type registration?


> Automatic type registration is only called from the batch execution 
> environment
> -------------------------------------------------------------------------------
>
>                 Key: FLINK-2609
>                 URL: https://issues.apache.org/jira/browse/FLINK-2609
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 0.10.0
>            Reporter: Robert Metzger
>            Assignee: Chesnay Schepler
>
> Kryo types in the streaming API are quite expensive to serialize because they 
> are not automatically registered at Kryo.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to