flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-9193) Deprecate non-well-defined output methods on DataStream
Date Thu, 24 May 2018 13:54:00 GMT

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

Stephan Ewen commented on FLINK-9193:
-------------------------------------

Should we move ahead with deprecating these methods and plan with a proper bucketing sink
replacement in Flink 1.6?

> 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)

Mime
View raw message