GitHub user rmetzger opened a pull request:

    https://github.com/apache/flink/pull/1563

    [FLINK-3296] Remove 'flushing' behavior of the OutputFormat in DataStream 
API

    I removed the `FileSinkFunctionByMillis` and removed all the `millis` 
arguments on the writing functions.
    
    The whole "buffering" and "flushing" functionality was broken: Elements 
were kept in an ArrayList and send to the OutputFormat on "flush()". However, 
the flush was not really called periodically. It was only checked when new 
records arrived. So when a stream is not having elements for a certain time, 
the last few elements would just stay in the list until new elements arrive 
again.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/rmetzger/flink flink3296

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/1563.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1563
    
----
commit 3275adaaf27f6e1ec74ffc2a48169239da0e1f5b
Author: Robert Metzger <[email protected]>
Date:   2016-01-28T13:56:29Z

    [FLINK-3296] Remove 'flushing' behavior of the OutputFormat support of the 
DataStream API

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to