You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (JIRA)" <ji...@apache.org> on 2017/05/11 15:10:06 UTC

[jira] [Created] (FLINK-6550) Calling ctx.collect with a null OutputTag should log a warning or throw an exception

Chesnay Schepler created FLINK-6550:
---------------------------------------

             Summary: Calling ctx.collect with a null OutputTag should log a warning or throw an exception
                 Key: FLINK-6550
                 URL: https://issues.apache.org/jira/browse/FLINK-6550
             Project: Flink
          Issue Type: Improvement
          Components: Streaming
            Reporter: Chesnay Schepler
            Priority: Minor


When using side outputs it is currently possible to call {Context#collect(OutputTag<X>, X record)} with null for the OutputTag. Effectively this causes the data to be swallowed. It is unlikely that a user actually intends this, so i propose to either log a warning or throw an exception.



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