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

Niels Basjes commented on FLINK-18606:
--------------------------------------

The impact seems very limited.
I expect normal user applications only get in touch with the Context by means 
of implementing the {code}void invoke(IN value, Context context){code} of a new 
type of SinkFunction.
There the parameter is already missing so there should be no impact for them.

The only other affected place is the SinkContextUtil which is marked as 
{code}@Internal{code}


> Remove generic parameter from SinkFunction.Context<T>
> -----------------------------------------------------
>
>                 Key: FLINK-18606
>                 URL: https://issues.apache.org/jira/browse/FLINK-18606
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Niels Basjes
>            Priority: Major
>
> As discussed on the mailing list 
> https://lists.apache.org/thread.html/ra72d406e262f3b30ef4df95e8e4ba2d765859203499be3b6d5cd59a2%40%3Cdev.flink.apache.org%3E
> The SinkFunction.Context  interface is a generic that does not use this 
> generic parameter.
> In most places where this interface is used the generic parameter is omitted 
> and thus gives many warnings about using "raw types".
> This is to try to remove this generic parameter and asses the impact.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to