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

mingleizhang edited comment on FLINK-9193 at 4/18/18 1:40 AM:
--------------------------------------------------------------

I agree with [~twalthr] at this point. It would be better adding more comments 
on those method like those method can not support consistency guarantees 
instead of deprecating them. Like in data analysis for data cleaning, we do 
need strong consistency guarantees and many data are drop and duplicate.


was (Author: mingleizhang):
I agree with [~twalthr] at this point. It would be better adding more comments 
on those method like those method can not support consistency guarantees 
instead of deprecating them. Like in data analysis for data cleaning, we do 
need strong consistency guarantees.

> Deprecate non-well-defined output methods on DataStream
> -------------------------------------------------------
>
>                 Key: FLINK-9193
>                 URL: https://issues.apache.org/jira/browse/FLINK-9193
>             Project: Flink
>          Issue Type: Improvement
>          Components: DataStream API
>            Reporter: Aljoscha Krettek
>            Assignee: Aljoscha Krettek
>            Priority: Major
>             Fix For: 1.5.0
>
>
> Some output methods on {{DataStream}} that write text to files are not safe 
> to use in a streaming program as they have no consistency guarantees. They 
> are:
>  - {{writeAsText()}}
>  - {{writeAsCsv()}}
>  - {{writeToSocket()}}
>  - {{writeUsingOutputFormat()}}
> Along with those we should also deprecate the {{SinkFunctions}} that they use.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to